r/learnpython • • Nov 05 '20

How does one learn to make well-structured programs? Mine are dumpster-fires.

So I just (kind-of) finished reading Automate The Boring Stuff With Python, and for the past month I've felt like a big-brained super-hero automating myself out of a job (Data Analyst).

The problem is, I feel I missing something along the way. I don't understand the proper way to use functions, what a class is, why people have multiple files in a program, how/why people use GitHub...probably some other things I haven't discovered yet.

They all seem to be related to organization? Is there a "How To Structure Your Python Stuff With Python" book?

478 Upvotes

98 comments sorted by

View all comments

1

u/OnlySeesLastSentence Nov 06 '20

Wait, so data analyst jobs don't require you to be an expert programmer to begin with? I've been ignoring them because they all talk about "modeling statistical inference models" and other weird sounding stuff that I feel is beyond me.

Do I have to be good at stats class to do well? Or is it one of those jobs that are actually easy but everyone acts like it's hard to make themselves look smart?

1

u/SwizzleTizzle Nov 06 '20

Depends on the organisation but yes, many places don't actually understand what a data analyst is/does and has possibly rebranded other existing employee titles.

Case in point, my employer. The "data analysts" there are nothing more than report generators/dashboard builders. If $application's data isn't already available somewhere in an SQL database they have access to, they are stumped. No understanding of any scripting (python or otherwise) and very often do dumb things like pretending the UTC offset on a datetime doesn't matter.

1

u/OnlySeesLastSentence Nov 06 '20

Oh wow. I should start applying. Can I expect >$50,000?

1

u/SwizzleTizzle Nov 06 '20

Assuming that's USD I'd hope so. I'm in Australia, the data analyst jobs here are usually paying 70 - 90K AUD.