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/ThighSaveLivess Feb 20 '21

Figuring out how you can convert json to an excel format. It's quite complicated to format it correctly.

1

u/MaraudingAvenger Feb 21 '21

so -- if the JSON is already in a basically tabular format, you could very easily convert it to a pandas dataframe with pandas.read_json(). Then you could do df.to_excel() to convert it to an excel spreadsheet. Link to pandas docs.

If you're unfamiliar with pandas, it's an incredibly powerful library that deals with tables of all kinds built on top of numpy. I'm 90% sure we're going to do a stream with an intro to pandas that goes over the basics, if you're interested!