r/learnpython • u/Nythious • 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
2
u/MaraudingAvenger Feb 21 '21
Oh man, this one hits close to home.
I think the first thing is the categorical vs. numerical -- basically categorical data, we don't care if the field we're looking at contains a number, a string, or something like that; that number/string means something. If you're working with that awful fuel economy spreadsheet that DS courses love so much, a car's type ("sedan", "truck", "hatchback", etc.) would be categorical. What if that was a number instead? If it was 1, 2, 3, we wouldn't care that it was a number, because the number doesn't represent a count of something; it just represents one of a number of categories that the vehicles might fall into. So that we don't accidentally treat that category like a number and maybe add something to it on accident, we could make it into a string instead.
With graph types, that is far more subjective than many instructors will admit. Really, if you can convey the information you want to convey with the combination of shapes and colors you create, then it's doing its job. I spend so much time tailoring things to certain color schemes, sizing points and adjusting alpha, etc. that ultimately has very little bearing on the overall presentation. This all boils down to "don't use a pie chart" basically, lol. I think the biggest thing is just to know what's out there (browse d3js.org front page to be inspired), and choose something that you like that communicates what you want it to communicate.