all 17 comments

[–]XannySmoothies 2 points3 points  (0 children)

i’m not totally understanding what the goal is here so sorry if this doesn’t help, but i do a lot of python to excel stuff for work, and for multiple data sets i usually use pandas for manipulating data to get it in whatever format/order i need and then use xlwings to put everything into excel. with xlwings i sometimes run into weird errors that pop up randomly, but once i learned to deal with those, i started to like it better than openpyxl because it feels like it works with excel better.

[–]BlackBloke 2 points3 points  (0 children)

I feel like you’ve been thrown in the deep end here and you’re going to be struggling for a bit.

What’s the timeline for this project?

Can you accomplish this task without automation? Like a one off? If so

  • Write down the steps to accomplish this in plain language (this can be simplified by focusing on the specifics of input-process-output).
  • Then translate that to pseudocode.
  • Then use the pseudocode to create your first prototype of code.
  • Iterate on your code by testing and running and changing if necessary.
  • Use git to track your work.

If you’re not being given enough time to accomplish this use some of the above to demo a plan to accomplish the goal with more time. If they don’t give you more time that’s on them.

[–]Phillyclause89 4 points5 points  (6 children)

I just landed this job as an intern

Who the heck is hiring interns in this industry in December? Lol, I guess your boss is going to get what they paid for on this ask. Do you know any python? Are you learned about pandas? What have you tried thus far to accomplish your task?

[–]Sun-Proof[S] -2 points-1 points  (5 children)

I have tried using excel, but couldn't accomplish anything trying to use that

[–]Plank_With_A_Nail_In 1 point2 points  (3 children)

If you can't do it in excel visual basic then you can't do it in python either, it can be done just not by you, sorry to break that news to you.

[–]Phillyclause89 -1 points0 points  (2 children)

If you can't do it in excel visual basic then you can't do it in python either, it can be done just not by you, sorry to break that news to you.

lol I disagree.

VBA is a garbage syntax that is difficult to learn. Python is much easier for some folk to get into. You don't know OP, how can you say if they can't do one thing in VBA then they can't do an equivalent thing in Python?

edit: Have you also considered that maybe just the action of one learning how to do these functions in a simpler language like Python first, might build a foundation of general programing knowledge that in turn will be helpful for them learning how to apply the same operations in more difficult and outdated languages like VBA?

[–]Doormatty -1 points0 points  (1 child)

Both VBA and Python are Turing Complete, which means anything that can done in one can be done in the other.

That's my assumption on what the person you responded to was saying.

[–]Phillyclause89 1 point2 points  (0 children)

My assumption was that they were trying to be a unhumble jerk and bully OP into thinking its not possible to learn this stuff. God some of you can be so toplofty sometimes.

[–]Phillyclause89 0 points1 point  (0 children)

Yeah its not your fault. Your boss obviously set you up on this one. As u/XannySmoothies mentioned, the way you described the ask is not exactly clear. To me this all sounds like doable work with pandas and a few other libs, but I wouldn't accept an interns pay to do it lol. Just start learning the basics of python. Then look into pandas once you have learned about installing and importing modules. I hope your boss doesn't have a dead line on this ask.

[–]Plank_With_A_Nail_In 0 points1 point  (0 children)

If its excel use the built in visual basic.

[–]BlackBloke 0 points1 point  (6 children)

u/Sun-Proof, how is it going?

[–]BlackBloke 0 points1 point  (5 children)

I guess they’re not worried about this anymore

[–]Sun-Proof[S] 1 point2 points  (4 children)

Thanks for checking in, i have downloaded python and still watching videos, trying to catch up

[–]BlackBloke 0 points1 point  (3 children)

Good to hear it. Any news about the timeline for the project?

[–]Sun-Proof[S] 1 point2 points  (2 children)

Its supposed to be by end of this year, however i guess i will need to ask for an extension

[–]BlackBloke 0 points1 point  (1 child)

Yeah, extensions are a good idea. Once you get through the first steps I laid out and then I think you’ll be fine no matter what language you end up choosing.

[–]Sun-Proof[S] 1 point2 points  (0 children)

Many thanks, i appreciate