🐿️
20

TIL Python can read a CSV file in like 2 lines of code

Been working on this side project tracking tree removal data. Had hundreds of entries in a spreadsheet. Spent a whole Saturday manually copying stuff. Then watched a 10 minute YouTube video from some guy named Corey. He showed how to use 'pandas' and 'read_csv' and it took 2 lines. Felt like an idiot but also thrilled. Any other beginners find a trick that made you feel this way?
1 comments

Log in to join the discussion

Log In
1 Comment
rubyj11
rubyj111d ago
Wait, are you serious? Two lines? I spent three hours last week clicking and dragging cells in a spreadsheet for a similar project, and my wrist still hurts. That is actually insane that you can do it that fast. I need to go find that video right now before I waste another weekend.
3