From the course: pandas Essential Training
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Reading tabular data into pandas
From the course: pandas Essential Training
Reading tabular data into pandas
- [Instructor] One of the reasons I started using Pandas was that as part of my job, I received these massive spreadsheets with thousands of rows and columns and I needed to analyze them. But every time I tried to open it in Excel, my computer froze. The game changer when dealing with large datasets was Pandas and the Read CSV Method. So let's head over to our Notebook and let's download our dataset. Now in Google Colab, I can go ahead and run a couple of commands using the Unix or Linux Shell by having a exclamation mark at the start. And so what this is going to do, it's going to use the wget command and that's going to pull this dataset down. Now, let's say I wanted to upload my own dataset, right? Then I can go ahead and run this command. Now the reason that I have these hashes in front of this is that these means that these are comments. And so these cells don't normally need to be run. So for example, if I have my own dataset and I want to upload a CSV file here, I could run…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.