Join Jonathan Fernandes for an in-depth discussion in this video Solution, part of pandas Essential Training.
- [Instructor] So, remember to run the first couple…of lines, so we want to import Pandas as PD,…so I run that by hitting shift and enter.…I want to load the CSV file…into my DataFrame called 00…and so, the first question is list…our Olympics DataFrame.…Now, since our DataFrame is called 00,…all we need to do type 00…and run that cell…and we can see that we've got the entire DataFrame here.…The next question is to list only the NOC column…using both the square bracket notation…and the dot notation.…
So, 00 is my DataFrame…and the NOC column is NOC in all capitals…and I can run that and you can see…that this is displayed in the way that we expect.…So, the first country's Hungary and so on.…And if I want to do the same thing…but with the dot notation,…I type 00 which is my DataFrame…and then the series name which is NOC.…
And I get exactly the same results as I did above.…Now, the final question is to determine…what type this object is,…so all we need to do is call the type function,…so type, parentheses 00.NOC…and close parentheses and run that…
- Working with plots
- Boolean indexing
- String handling
- Grouping data
- Creating your own colormaps
Skill Level Intermediate
1. Technical Setup
2. Series and DataFrames
3. Data Input and Validation
4. Basic Analysis
5. Basic Plotting
9. Data Visualizations
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.