I hope everyone finds this video helpful. The next video of the series will be posted tomorrow at the same time. The next video will cover how to create stack plots. I'd like to thank Brilliant for sponsoring this series. If you'd like to check them out then you can sign up with this link and get 20% off your premium subscription: brilliant.org/cms
@@coreyms thanks for all the videos and work you have been doing. How did you copy the color hex values in commented section (column) and replace them in list (6:45 min)
I don't know how to express the fact these tutorials are so clear, nice, well explained, structured and your way of explaining is so helpful ! Thank you very much for your series and all other videos that you make to help us. The community you have is truly awesome and I am proud of being part of it (sorry for my english).
Perfect timing, Corey! You've been my go-to for learning individual Python libraries and this series came up just in time for the current project I'm working on. I can't thank you enough!
I'm just learning Python and preparing for the final projects. Your video included most of the information/guide I needed to plot my chart in. It's a big thanks from me :)
Pie charts are rarely a good plot choice. For most cases bar chart works better as it is easier to make comparisons between categories of similar size on it. In statistics usage of pie charts is discouraged, although managers do love them :)
I agree. I wanted to show how they're made since they're popular for presentations, but I would almost always recommend a bar chart instead. I mentioned it slightly in the video, but perhaps I should have emphasized that a bit more.
Yes. Moreover, pie charts cannot be used for data with overlaps, such as the data used in this video. A dev can use more than one programming language. The video is excellent for demonstration purposes and is very informative, but this should have been mentioned IMHO.
Excellent work as always. I've been using Matplotlib for quite some time and am still learning new things with your vids. FYI, you mentioned that you thought the start angle may be arbitrary. I believe that MPL always starts at the X axis (East) and rotates counterclockwise (anti-clockwise).
Hi Corey, Thanks for the wonderful tutorials, learned and learning a lot from you!! I have weather data, I created a column of seasons that is 'Summer, Spring, Autumn and Winter' based on the dates, now I want to create a pie chart for number of days for each season, with the season and number of days as labels. How do you reckon we do this?
I really enjoied the lecture and understood every thing, but i have very funadamental doubt, why to use matplotlib for ploting? we have excel no. Is there any specific reason to use matplotlib? or it is just as an alternative. Does matplotlib have any advantage over excel?
awesome content as usual Corey! Can you please tell me the differences between Seaborn and Matplotlib? Is the knowledge learned in this series is still relevant if one has to only use Seaborn as the library. That might be the case, but thought I'll double check with you.
Other than creating a flag column to indicate which are the "Others", is there another way of just visualizing the top 3 and grouping everything else in "Others" in pie chart?
Imo pie charts are good for comparing single quantities to the total. Ie I wouldn't use a pie chart if the total doesn't mean anything. But if it means something, I think it's ok to have more than five quantities.
for example i have 30 items to show in pie, how can i set color automatically ? rather than i define one by one... thx in advance (i knew you already told that pie is not good for show many data.. hehe)
hello mr corey i want to ask you and hope u reply: if i learn matplotlib or opencv, can i get a job with it?(remote job) cuz there are no jobs in my country and im a python dev. and i want to work online, hope you help me mr. thanks❤❤
Hi Corey, I tried exactly same code what is in your tutorial and with same data. I am getting below error TypeError: unsupported operand type(s) for -: 'str' and 'float' import csv from collections import Counter from matplotlib import pyplot as plt import pandas as pd data = pd.read_csv('D:\\code\\data.csv') ids=data['Responder_id'] lang=data['LanguagesWorkedWith'] language_counter=Counter() for responses in lang: language_counter.update(responses.split(';')) languages=[] popularity=[] for item in language_counter.most_common(15): languages.append(item[0]) popularity.append(int(item[1])) plt.bar(languages,popularity) --> This line is problem and not sure why it is considering popularity list as string . Could you please help ? Thanks, Girish
I hope everyone finds this video helpful. The next video of the series will be posted tomorrow at the same time. The next video will cover how to create stack plots.
I'd like to thank Brilliant for sponsoring this series. If you'd like to check them out then you can sign up with this link and get 20% off your premium subscription:
brilliant.org/cms
@@marthalanaveen Not at the moment, but I'll be doing more plotting videos in the future and will cover libraries like that
Sir it's really useful... Thank you so much for very informative videos.. ...
@@coreyms thanks for all the videos and work you have been doing.
How did you copy the color hex values in commented section (column) and replace them in list (6:45 min)
How did you do that selection of the four hex values and then replace the four colors? I can't figure out the key combo.
And of course, two minutes after I posted the question, I figured it out: Alt+Click. Great series, btw.
I don't know how to express the fact these tutorials are so clear, nice, well explained, structured and your way of explaining is so helpful ! Thank you very much for your series and all other videos that you make to help us. The community you have is truly awesome and I am proud of being part of it (sorry for my english).
Perfect timing, Corey! You've been my go-to for learning individual Python libraries and this series came up just in time for the current project I'm working on. I can't thank you enough!
I'm loving your Matplotlib series.Will start Pandas after finishing it.
Thanks again..colorful tut :) ...Do you have any plan for numpy, pandas, scikit-learn library?
I have seen 3 videos of this series and this series is awesome! Thank you for sharing this content.
I'm just learning Python and preparing for the final projects. Your video included most of the information/guide I needed to plot my chart in. It's a big thanks from me :)
The most colorful and enjoyble tutorial. Many thanks!
You started posting this series just when I needed it! Your tutorials are always super insightful and comprehensive. Keep up the good work.
brilliant work :D
Pie charts are rarely a good plot choice. For most cases bar chart works better as it is easier to make comparisons between categories of similar size on it. In statistics usage of pie charts is discouraged, although managers do love them :)
I agree. I wanted to show how they're made since they're popular for presentations, but I would almost always recommend a bar chart instead. I mentioned it slightly in the video, but perhaps I should have emphasized that a bit more.
Yes. Moreover, pie charts cannot be used for data with overlaps, such as the data used in this video. A dev can use more than one programming language. The video is excellent for demonstration purposes and is very informative, but this should have been mentioned IMHO.
In my opinion pie charts should be used to compare quantities to a total.
Ie above it doesn't make sense, because the total doesn't mean anything.
@@MrCmon113 you are right , ma men
@@coreyms Can’t agree more. Bar charts and box charts are a better choice, I though I was the only one find Pie chart to be not a good choice
One of the best explanation
You're tutorials are awsomw, they are really insightful and somehow you make it really fun to learn, thank you so much.
Very good explanation Corey!
I love your courses ... they are well explained ... please land cool courses like this more and more🎉
Great video, so helpful! I don't know why everyone doesn't learn coding with free resources of this calibre available.
That was a really well done tutorial!
You are definitely making a change👍
Thanx bro
Excellent work as always. I've been using Matplotlib for quite some time and am still learning new things with your vids. FYI, you mentioned that you thought the start angle may be arbitrary. I believe that MPL always starts at the X axis (East) and rotates counterclockwise (anti-clockwise).
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
Learning so much from your tutorials, thanks.
Thanks a lot Corey, very helpful
Awesome video!
Wow part3 was so colorful..
ربي يوفقك وشكرا اخي
good lock brother
The tutorial is very insightful
Part 3.cool like always
great explanation
That's very nice explanation, I like it so much
My life saver
I love pie
Just awesome..loved it
Superb Tutorial
Beautiful 🤩
ty Corey🙂
Hi Corey, Thanks for the wonderful tutorials, learned and learning a lot from you!!
I have weather data, I created a column of seasons that is 'Summer, Spring, Autumn and Winter' based on the dates, now I want to create a pie chart for number of days for each season, with the season and number of days as labels. How do you reckon we do this?
Thank you
I really enjoied the lecture and understood every thing, but i have very funadamental doubt, why to use matplotlib for ploting? we have excel no. Is there any specific reason to use matplotlib? or it is just as an alternative. Does matplotlib have any advantage over excel?
I like his videos before watching. 😂
Please make content on NumPy and Scikit - learn libraries as well! 🤩
thanks again, I'm learning this on 11.june.2020 exactly one yar later. :))
Thanks man!!
Almost 60k views and less than 2k likes? c'mon guys support Corey!
very nice video Corey! I would like to ask you, how to change the background color ? I'm struggling with this...thanks a lot
Lovely sir :)
correct me if im wrong. i think they use horizontal line to right as zero degree angle. counting counterclockwise. its quite common in math
awesome content as usual Corey! Can you please tell me the differences between Seaborn and Matplotlib? Is the knowledge learned in this series is still relevant if one has to only use Seaborn as the library. That might be the case, but thought I'll double check with you.
Other than creating a flag column to indicate which are the "Others", is there another way of just visualizing the top 3 and grouping everything else in "Others" in pie chart?
How do you do the multicopy thing?
Thank you very helpful
Please start python DSA on RUclips.
Bloody Corey fucking Schafer. ... Thank you for this. You are the best teacher. Thank you thank you
Is there any way to change the color of the background?
My only one request please make videos in light background it's very difficult to seee and go through the video other than that love you Corey 💓
hey man if I could give you a nobel peace prize, I'll do it without hesitation
i LOVE you!
Can u plss make a tutorial series on seaborn?
i wan to change the place of the percentage text pls hlp me : )
Imo pie charts are good for comparing single quantities to the total.
Ie I wouldn't use a pie chart if the total doesn't mean anything. But if it means something, I think it's ok to have more than five quantities.
Data which you have used is not in the description
for example i have 30 items to show in pie, how can i set color automatically ? rather than i define one by one... thx in advance (i knew you already told that pie is not good for show many data.. hehe)
Sir please can you help me to disable xkcd command
awesome
Done
How can we add a legend to the pie chart to mention some details about the pie chart
Hey Corey is there a 3d pie chart ?? .....
hello mr corey i want to ask you and hope u reply: if i learn matplotlib or opencv, can i get a job with it?(remote job) cuz there are no jobs in my country and im a python dev. and i want to work online, hope you help me mr.
thanks❤❤
It could definitely help. Data Science is becoming a very popular field and knowing how to plot and graph data like this will be in high demand.
@@coreyms okay thanks
@@coreyms is matplotlib good for AI/ML?
i apologise that I'm asking a lot..
Good rule of thumb: don't use pie charts if you have more than zero items.
Hi Corey,
I tried exactly same code what is in your tutorial and with same data. I am getting below error
TypeError: unsupported operand type(s) for -: 'str' and 'float'
import csv
from collections import Counter
from matplotlib import pyplot as plt
import pandas as pd
data = pd.read_csv('D:\\code\\data.csv')
ids=data['Responder_id']
lang=data['LanguagesWorkedWith']
language_counter=Counter()
for responses in lang:
language_counter.update(responses.split(';'))
languages=[]
popularity=[]
for item in language_counter.most_common(15):
languages.append(item[0])
popularity.append(int(item[1]))
plt.bar(languages,popularity) --> This line is problem and not sure why it is considering popularity list as string . Could you please help ?
Thanks,
Girish
Hello, video is great. Can you teach me how to fix multiple letter like your way invideo at 6:37. Thank you #Coreythebest
hold ctrl while placing cursors
Data set is not downloading
6:07 Haha :)
first here
give me LIKES to appreciate Corey