Today I wrote my first Python script. And it actually worked! The problem: I had 5 CSV files scattered across folders at work. Each file had sales data from different months. Manually combining them in Excel was taking 2+ hours every week, and I kept making copy-paste mistakes. So I decided to learn Python. After a few hours of YouTube tutorials and StackOverflow rabbit holes, I wrote a script that: 1. Reads all CSV files from a folder 2. Merges them into one dataset 3. Cleans column names (removes extra spaces) 4. Converts text numbers to actual numbers 5. Creates a calculated column (package total excluding GST) 6. Exports everything to Excel What used to take 2 hours now takes 3 seconds. Here's what I learned: 1. Python isn't as scary as I thought. pandas library does the heavy lifting. 2. The hardest part wasn't the code — it was figuring out WHAT I needed the code to do. 3. Small automation = big time savings. 2 hours/week = 104 hours/year saved. To anyone hesitating to learn coding: just start. Start with something annoying at work and automate it. Now I'm excited to automate more things. What should I tackle next? Drop suggestions below! 👇 #Python #DataAnalytics #Automation #LearningInPublic #DataScience #Pandas #DataEngineering #Excel #Analytics
Indeed! Pandas is very versatile and good for such tasks.https://koshurai.page.gd/
Now you can do this automaticly. And be careful about small changes with orignal data, but is not big problem. Good work
Pandas is a great choice 👍
That feeling when your first script actually works — there's nothing like it! You've already figured out the hardest part: identifying the right problem to solve. From here it only gets more fun. pandas is going to become your best friend. Keep going!
You might want to look into Power Query for such an operation
I loved learning sql and python. My only gripe is that I have yet to have the opportunity to use the skill set in a professional setting. I have found (at least in my industry) that most data is not large enough, is constrained to excel, and/or the programs that house the data have simply released AI translation bots to help users analyze the data on thier own. Not to discredit the skill! I have still found it useful in helping to understand and better commincute with the ai tools being released and it is certainly useful for larger data. Also, most users absolutely butcher original data when in excel rendering it useless for analysis (always fun). 🤣