r/learnpython • • Feb 20 '21

What are you having difficulty learning or are currently struggling to learn?

I'm curious what the community here has difficulty with when it comes to learning Python. Partly because I want to see if the more experienced community here (or myself) can help point you into the right direction. . . but also because I'm trying to come up with video tutorial ideas for future content and would love to hear from Python learners what would be most useful to dedicate our time on.

I'm looking forward to hearing what you guys have to say!

417 Upvotes

324 comments sorted by

View all comments

2

u/Yungpastorphillswift Feb 21 '21

I'm having a lot of difficulty with graphs right now. I have a column that displays only 2 different values, "1" and "3". 1 representing yes, 3 representing no. I just want to make a bar graph that visualizes the difference in their amounts, and I cannot for the life of me figure it out.

1

u/MaraudingAvenger Feb 21 '21

The plotly library is a pretty well-respected graphing library that has some good tutorials you can follow. I'm personally a big fan of bokeh -- I don't know why, but for whatever reason their API makes the most sense to me! They've got a tutorial for making bar charts out of categorical data that's pretty plug-and-play.

Just in case -- these are third party libraries, and need to be installed to be used -- if you're using vanilla python you can open a terminal and type pip install plotly or pip install bokeh to get them (or pip install plotly bokeh to get them both, lol). If you're using Anaconda, you can open a terminal and type conda install plotly bokeh to get them.