r/learnpython • • Mar 05 '20

I finally did it!

I've been trying to learn Python for almost 3 years now. I've been off and on trying different things with little success. I'd mostly given up.

This past week at work, they changed some of the data I use, I'm an Accounting Analyst and we get all of our banking data in an excel file. They decided to change it into this convoluted workbook that had about 30 columns of data we didn't need. I figured I'd give Python on last chance and see what I could do.

I proceeded to build a script that takes all of the data into a dataframe, strips out what I don't need, creates columns for missing columns, adds any missing value and saves to a new workbook, all in 21.73 seconds. I finally did it. No one really seems to care. I saved my coworkers about 2.5-3 hours of work a month. I just feel really good and I had to share with someone.

Update: Thank you everyone for the encouragement. I really do appreciate. I've now built it out to include a nice GUI that allows me to choose the destination and name the file. Very happy with it and my boss is, as well.

1.3k Upvotes

130 comments sorted by

View all comments

291

u/dangoth Mar 05 '20

Congrats. Your coworkers might not care, but management would most likely be happy to hear you've created savings.

197

u/jrust91 Mar 05 '20

I’m definitely hoping so. I’m up for a raise this month and would love to amplify my value

91

u/Jchu1988 Mar 05 '20

You also save them 2h per time * number of times per week* 52 * estimated hourly wage. Give them that number to justify asking for more.

58

u/emergentdragon Mar 05 '20

This. Times number of involved employees... so

2h * employees involved * number of times per week * 52 * hourly wage

So for example 3 employees, weekly at 25$/hour

2h * 3 * 1 * 52 * 25 = 7800$ per year

21

u/klapt0r Mar 05 '20

29

u/Danlacek Mar 05 '20

Yeah but they did it wrong. OP said it saves 2.5-3 hours a month. So it's not 52 times a year, it's more like 12 times a year.

Edit: so that's $1800 a year savings. In which case I WOULD ask for that whole amount if not more

2

u/Texas1911 Mar 06 '20

It’s not a savings if you turn around and spend it again ...

→ More replies (15)

1

u/Texas1911 Mar 06 '20

You should use the employees full labor costs and also their contribution had they spent that time doing other tasks.

So ...

3 Hours * # Employees * (Hourly Rate * 1.33) for a non-revenue generative employee, or simple cost basis

3 Hours * # Employees * Profitability Contribution for a revenue generating position

16

u/theBS88 Mar 05 '20

Also show that you have potential to do similar things in the future, and that you can look at problems creativity and even identify processes that they didn't even realise are an issue. That is where the real value is.

I did a similar thing a few years back and I know how it feels when it seems like no one cares. They will start to care when your team can afford to cut members as you are more efficient as a whole.

3

u/Yakhov Mar 05 '20

not really, in most corporate scenarios the people who don't out shine their bosses stick around. You gotta realize they see you as a threat to their jobs if you are too good at yours.

2

u/[deleted] Mar 06 '20

this is why I hate the world

→ More replies (2)

3

u/[deleted] Mar 05 '20

U deserve it

3

u/WickedInvi Mar 05 '20

Really hope you get it. We need more automation of repetitive task. Just don't be shy to sell yourself. You might want to present this as a solution to the problem and not just use it without your superiors knowing.

3

u/Yakhov Mar 05 '20

make sure you show it to the right person. I've been totally back stabbed by co-workers and mgmt for pointing out inefficiency and wastefulness in the past. When you show that your middle mgmt aren't that good at their jobs by out shining them, they tend to take you out of the game when they get the chance.

1

u/Texas1911 Mar 06 '20

That’s why you befriend them and make them look good by doing it in a mutually beneficial way.

Throwing people in front of the wolves will never benefit you.

Use the cronyism to your advantage rather than fighting it.

1

u/Yakhov Mar 06 '20

Yea that's the obvious play that most people make as they are assimilated into the culture, but it won't really protect you when the knives come out.

2

u/juleswp Mar 05 '20

Timing is perfect. Congrats

2

u/[deleted] Mar 05 '20

Love your story! I hope you get that raise, bud.

1

u/arsewarts1 Mar 05 '20

Keep up doing what you are doing. Once you have a project like this fully implemented (aka everyone uses it daily) then give them a spreadsheet. It’s used by X employees for a total weekly hour value of Y so that means a company monthly savings of Z across the board. Then say you’d like to discuss raises. It’s hard to turn down when it was just presented to them.

1

u/[deleted] Mar 06 '20

I'm sure you know this, but document everything!

In your code and in your life.

7

u/GregorSamsaa Mar 05 '20

They usually don’t care either. They’ll just know you have more to do extra work now lol

1

u/Diegovnia Mar 05 '20

Really depends on the management, I had automated all of our reporting systems last year (we mostly use google sheets as all of the departments need to have an access to the reports) and during my annual pay review they seemed not to care at all, despite the fact that I have saved roughly about 20-30 man hours per week. Anyway congratulation and I hope your management isn't like mine!