Join Jonathan Fernandes for an in-depth discussion in this video Plot types, part of pandas Essential Training.
- [Narrator] Types of plot.…The plot command displays the graph…and there are a couple of options.…By default, the graph is a line plot,…but you can also specify that you want…to use another type of graph such as…a barh graph or a pie chart.…You need to use the kind equals parameter…to specify what type of plot you require.…Half of the skill is in trying to determine…which graph would be the best to represent the data.…So, you'd normally use a line graph…when you're trying to track changes…of a short or a long period of time.…
When smaller changers exist, line graphs…are better to use than, say, a bar graph…and line graphs can also be used to compare changes…of the same period of time for more than one group.…A bar graph or a horizontal bar graph…have the same use cases.…Bar graphs are used to compare things…between different groups or to track changes over time.…However, when trying to measure change over time,…bar graphs are best when the changes are large.…This is the horizontal bar graph…and it's almost identical to a bar graph,…
Author
Released
11/3/2017- DataFrames
- Working with plots
- Boolean indexing
- String handling
- Indexing
- Grouping data
- Reshaping
- Creating your own colormaps
Skill Level Intermediate
Duration
Views
Related Courses
-
pandas for Data Science
with Charles Kelly2h 3m Intermediate -
Python: Data Analysis
with Michele Vallisneri2h 16m Intermediate
-
Introduction
-
Welcome1m
-
Exercise files32s
-
-
1. Technical Setup
-
Installing Anaconda2m 59s
-
Downloading the data set1m 37s
-
Using the Jupyter notebook3m 59s
-
Using Pandas2m 51s
-
-
2. Series and DataFrames
-
DataFrames1m 19s
-
Series4m 32s
-
Challenge41s
-
Solution2m 41s
-
-
3. Data Input and Validation
-
Using read_csv()3m 24s
-
Using shape1m 25s
-
Using head() and tail()1m 48s
-
Using info()1m 2s
-
-
4. Basic Analysis
-
Using value_counts()3m 13s
-
Using sort_values()3m 33s
-
Boolean indexing2m 30s
-
String handling1m 33s
-
Challenge1m 15s
-
Solution7m 40s
-
-
5. Basic Plotting
-
Basic plotting1m 39s
-
Plot types4m 10s
-
Colors1m 1s
-
Figsize40s
-
Colormaps1m 29s
-
Seaborn basic plotting3m 29s
-
Challenge52s
-
Solution5m 15s
-
-
6. Indexing
-
Index1m 30s
-
Using set_index()2m 51s
-
Using reset_index()1m 23s
-
Using sort_index()2m 25s
-
Using loc[]2m 7s
-
Using iloc[]2m 3s
-
Challenge33s
-
Solution7m 39s
-
-
7. Groupby
-
Groupby2m 9s
-
Iterate through a group1m 56s
-
Groupby computations5m 55s
-
Challenge38s
-
Solution3m 43s
-
-
8. Reshaping
-
Reshaping3m 34s
-
Using stack()1m 41s
-
Using unstack()1m 27s
-
Challenge43s
-
Solution6m 7s
-
-
9. Data Visualizations
-
Learning heatmaps5m 38s
-
Creating your own colormaps4m 31s
-
-
10. Challenge
-
Final challenge34s
-
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Plot types