# Intro to Data Analysis / Visualization with Python, Matplotlib and Pandas | Matplotlib Tutorial

///Intro to Data Analysis / Visualization with Python, Matplotlib and Pandas | Matplotlib Tutorial

## Intro to Data Analysis / Visualization with Python, Matplotlib and Pandas | Matplotlib Tutorial

Python data analysis / data science tutorial. Let’s go!

For more videos like this, I’d recommend my course here:
Sample data and sample code:

My explanation about Jupyter Notebook and Anaconda:

Also, keep in touch on Twitter:

Outline – check the comment section for a clickable version:
0:37: Why data visualization?
1:05: Why Python?
1:39: Why Matplotlib?
2:23: Installing Jupyter through Anaconda
3:20: Launching Jupyter

4:27: Create a new Jupyter Notebook file
5:09: Importing libraries
6:04: Simple examples of how to use Matplotlib / Pyplot
7:21: Plotting multiple lines
8:46: Importing data from a CSV file
10:46: Plotting data you’ve imported
13:19: Using a third argument in the plot() function

13:42: A real analysis with a real data set – loading data
14:49: Isolating the data for the U.S. and China
16:29: Plotting US and China’s population growth
18:22: Comparing relative growths instead of the absolute amount
21:21: About how to get more videos like this – it’s at

source

By |2020-08-25T09:05:50+00:00August 25th, 2020|Python Video Tutorials|50 Comments

1. CS Dojo August 25, 2020 at 9:05 am - Reply

Below is the outline of this video.

First, though, a few relevant links:
– Sample data and sample code: https://www.csdojo.io/data
– Introduction to Data Visualization with Python, the full course: https://www.csdojo.io/moredata

OUTLINE:
0:37: Why data visualization?
1:05: Why Python?
1:39: Why Matplotlib?
2:23: Installing Jupyter through Anaconda
3:20: Launching Jupyter

4:27: Create a new Jupyter Notebook file
5:09: Importing libraries
6:04: Simple examples of how to use Matplotlib / Pyplot
7:21: Plotting multiple lines
8:46: Importing data from a CSV file
10:46: Plotting data you’ve imported
13:19: Using the third argument in the plot() function

13:42: A real analysis with a real data set – loading data
14:49: Isolating the data for the U.S. and China
16:29: Plotting US and China’s population growth
18:22: Comparing relative growths instead of the absolute amount
21:21: About how to get more videos like this – it’s at https://www.csdojo.io/moredata

2. Joshua Okhiria August 25, 2020 at 9:05 am - Reply

[ATTENTION] Hash Analytic Internship Application in the field of Data Analytics is now open for students.
Applications are open at https://HashAnalytic.com/internship/
Hash Analytic Internship Program helps bridge the gap for aspiring Candidate who wants to dive into the world of Analytics and Equip them with the necessary skills needed to thrive in this competitive profession. This is a remote internship. This means you will do your assigned work, long-distance, and at your own convenience. You will be assign a mentor who will help guide you through out the Internship. Students and Professionals can take part in this internship alongside their University work or Professional work. The Internship Program will help the candidates learn tools such as python, Tableau, Google Analytics and implement Real world analytics project that can boost career opportunities to a higher level.
Note:
1. No prior knowledge in Data Analytics is needed to apply for the Internship Program.
2. Top selected Interns selected based on performance will be offer permanent roles.
Applications are open at https://HashAnalytic.com/internship/

3. Joshua Okhiria August 25, 2020 at 9:05 am - Reply

[ATTENTION] Hash Analytic Internship Application in the field of Data Analytics is now open for students.
Applications are open at https://HashAnalytic.com/internship/
Hash Analytic Internship Program helps bridge the gap for aspiring Candidate who wants to dive into the world of Analytics and Equip them with the necessary skills needed to thrive in this competitive profession. This is a remote internship. This means you will do your assigned work, long-distance, and at your own convenience. You will be assign a mentor who will help guide you through out the Internship. Students and Professionals can take part in this internship alongside their University work or Professional work. The Internship Program will help the candidates learn tools such as python, Tableau, Google Analytics and implement Real world analytics project that can boost career opportunities to a higher level.
Note:
1. No prior knowledge in Data Analytics is needed to apply for the Internship Program.
2. Top selected Interns selected based on performance will be offer permanent roles.
Applications are open at https://HashAnalytic.com/internship/

5. Hiếu Bùi Đức August 25, 2020 at 9:05 am - Reply

Can pd read another file except .csv?

6. turkishdisco2 August 25, 2020 at 9:05 am - Reply

Thank you, CS Dojo, this is SO clear and SO easy to follow!

7. Mr sHaRkZz August 25, 2020 at 9:05 am - Reply

Thank you so much CS Dojo! Learning jupyter is also a bonus for me didnt expect that >:)

8. Shivangi Gupta August 25, 2020 at 9:05 am - Reply

Thankyou so much for the help.

9. mohammed kais August 25, 2020 at 9:05 am - Reply

Subscribe and like
this video is great…

10. Dona Karunaratne August 25, 2020 at 9:05 am - Reply

Fantastic- !!!

11. tal123abc August 25, 2020 at 9:05 am - Reply

Thank you so much! You've just saved me a lot of time and delivered me with a lot of knowledge. Your tutorial is so clear and nice to watch. One note: I'd use the terminology of "mask" when filtering by countries. Thank you so much again!

12. M&M MARKETING August 25, 2020 at 9:05 am - Reply

how come the other one come out with Y,Z BUT the other one only X instead of X,Z cos u add them later and it only results the Y and z but the X remains the same?? ohh u did it thanks now it is clear with legend u separate the lines but stile i don't see x and z line ?

13. skillmonks intern August 25, 2020 at 9:05 am - Reply
14. PixelElectronX August 25, 2020 at 9:05 am - Reply

(ignore)
15:04

15. Maria Espudiya August 25, 2020 at 9:05 am - Reply

Thanks YK for sharing your time and knowledge! But what does this mean <function matplotlib.pyplot.show(*args, **kw)> ? My data doesn't look like yours… it isn't Linear. I tried to use my own data.

16. Bishesh Shrestha August 25, 2020 at 9:05 am - Reply

17. Sujeet Goit August 25, 2020 at 9:05 am - Reply

I have Data in which column name has "/" . When I try to read data using column name I am getting syntax error.
Data.columns

Index([ '/tmp', 'TimeStamp'], dtype='object')

>>> Data./tmp

File "<stdin>", line 1

Data./tmp
^

SyntaxError: invalid syntax

How can we read this data using Dataframe column?

18. Bahrul SG August 25, 2020 at 9:05 am - Reply

Nice video.

I have an article about Python data visualization with Maptlotlib in Jupyter Notebook for Absolutely Beginner.

https://medium.com/@bahrulsg/data-visualization-with-matplotlib-for-absolute-beginner-part-i-655275855ec8

Thank you.

19. Francisco Palumbo August 25, 2020 at 9:05 am - Reply

Very nice introduction. Thank you very much!

20. Fever Gaming August 25, 2020 at 9:05 am - Reply

Explain heat maps from scratch pls

21. Emmanuel Ramos August 25, 2020 at 9:05 am - Reply

Why not just used excel? For instance, I could reproduce every graph on this video with excel…what more can I do with python? Is it because you can manipulate data outputs much more when using python and in a faster manner? I'm pretty knowledgeable with excel, and only really ran into problems when the data I used exceeded what excel supports (had to use powerpivot). How could I benefit from using python when confronted to large amounts of data or what benefits does python bring to data visualization compared to a program like Excel?

22. Phoebe Rayy August 25, 2020 at 9:05 am - Reply

All hail CS Dojo

23. Jas Matharu August 25, 2020 at 9:05 am - Reply

Thanks bro

24. deez nutz August 25, 2020 at 9:05 am - Reply

25. Mako Soma August 25, 2020 at 9:05 am - Reply

when i download anaconda it's show .sh not .pkg what did i do wrong?

26. Computer Boy August 25, 2020 at 9:05 am - Reply
27. Zain Qureshi August 25, 2020 at 9:05 am - Reply

Before starts you should have to close your mic toward your mouth 😉

28. Devender kumar August 25, 2020 at 9:05 am - Reply

It is really a good method. And I learn from it thanks brother and I wish you will keep giving us good videos.

29. KC MO August 25, 2020 at 9:05 am - Reply

Took an online course with Hong Kong Tech University, but had to come to this video to figure out what the heck was going on in the course!

30. X Han August 25, 2020 at 9:05 am - Reply

good work, you may want to be louder

31. Amir1974 August 25, 2020 at 9:05 am - Reply

Hi there … great content … why don't you use PyCharm for the same project ?

32. Amir1974 August 25, 2020 at 9:05 am - Reply

Hi there … amazing video By the way … i installed pandas on my anaconda but while doing the import step, i’m getting: no module named pandas … any solution? …. thanks

33. Rakesh Ranjan August 25, 2020 at 9:05 am - Reply

How I can visualize data using django. I have visualize the pandas pivot table data and display to web pages using django, Please help

34. Joshua Wang August 25, 2020 at 9:05 am - Reply

I appreciate you repeatedly explained every steps in video.

35. Programmieren mit Chris August 25, 2020 at 9:05 am - Reply

wonderful!

36. Prajwalla Dahal August 25, 2020 at 9:05 am - Reply

4 plt.xlabel('year')
5 plt.ylabel('population')
6 plt.show()

TypeError: 'str' object is not callable

Help !

37. Justin Lang August 25, 2020 at 9:05 am - Reply

I followed the tutorial and I was able to plot the x and y fine until I tried to put the title and and x/y label. It gave me error and said the title str is not callable

38. Tom Trapp August 25, 2020 at 9:05 am - Reply

The files you gave automatically save as an excel spreadsheet while on a microsoft computer. It won't open the file at all. What can I do to fix the problem?

39. Juan Montas August 25, 2020 at 9:05 am - Reply

Great training

40. Ashique Aizeb August 25, 2020 at 9:05 am - Reply

What I like is continue continue continue continue 😀

41. hang tran August 25, 2020 at 9:05 am - Reply

In the 9', how can I have the suggestion of function ( such as pd.read_csv, pd.read_clipboard)?
Thanks!

42. Annauen Ravacio August 25, 2020 at 9:05 am - Reply

Hello dear CS Dojo, I just started exploring Python and will be trying Anaconda here. Just installed it. Please may you provide a suggested documentation of the necessary library with the syntax in graphing polynomials. And if you may provide a sample script for my appreciation, so much the better please. At what email address may I write you for further assistance and guidance? thank you CS Dojo. we appreciate what you do.

43. kang du August 25, 2020 at 9:05 am - Reply

Its similar to matlab

44. vijay kumar August 25, 2020 at 9:05 am - Reply

very useful /very simple

45. Free Video English Dictionary August 25, 2020 at 9:05 am - Reply

Love the time stamp

46. Habineza Cedrick August 25, 2020 at 9:05 am - Reply

3.Node Architecture https://youtu.be/kuzmv0uuE98

47. fkdup records August 25, 2020 at 9:05 am - Reply

Good bless you man, you got me back to analysis. It’s a miracle for a bohemian artist like me.

48. Eric Nguyen August 25, 2020 at 9:05 am - Reply

Thanks YK Sugi. Just signed up Pluralsight and continue with other parts after watching your video 🙂

49. Themediamindflow August 25, 2020 at 9:05 am - Reply

Thanks Dojo, I do really appreciate it, it was fun.