How to do F1 data analysis (EASY)
Hi guys itās Mackenzie here <3 Iāve been getting questions about how I did my F1 data analysis on my main & social, so I decide to write something about this topic here.
DISCLAIMER: I am not a data science / computer science major student and Iām still very new to this, so if thereās something wrong with what I write/better way to do stuff, please donāt hesitate to tell me! Iām always eager to learn <3
WHAT I USE TO DO MY ANALYSIS
- I use PythonĀ as my choice of programming language (bc this is the only one I can work with lol).
Ā Ā I learned introductionary & intermediate Python and some basic data science toolkits from school, and IMO thatās pretty much what you need to understand most of the codes. (YES YOU DONāT REALLY NEED TO WRITE THEM YOURSELVES!!... Well maybe sometimes ;D ) If you feel a little bit uncomfortable with all these codes, there are a bunch of resources (free/paid) on the Internet that can get you familiar with Python~
- The package I usually use with the analysis (donāt forget to install them):
Ā Ā Numpy / Pandas: because weāll be working with DataFrames ~
Ā Ā Matplotlib: for visualizations (yes telemetry graphs!)
Ā Ā Fastf1: More about it down below
- Personally I use Jupyter notebook for writing my codes, but basically any platform that you feel comfortable should do.
Ā Ā There is a great python package by theOehrly named Fastf1Ā which contains an unimaginable amount of data from each F1 session! Itās based on Pandas DataFrame (I think), so I recommend some prior knowledge about how it works, but donāt worry bc normally the few lines I write myself is just .head() function to browse the dataset or do some splicings/selections to see what I want at the moment :D
Ā Ā The link to the introduction of fastf1 package:Ā https://theoehrly.github.io/Fast-F1/
Ā Ā Iāve been following JasperāsĀ tutorials about the data analysis and he writes AMAZING tutorials on F1 data analysis! His codes are great and he explains it very clearly, so you can always learn something new instead of blindly copy-paste codes. His Medium page:Ā https://medium.com/@jaspervhat
Ā Ā Normally I would just follow his codes step-by-step, but tweak the parameters a little bit (like changing the session to what Iām interested in). And when I have any questions I would head to either fastf1ā²s website or Github <3
So thatās basically what I can think about at the moment, Iāll update more if I have something new to share! Thank you so much for reading <3