r/learnpython • u/Kichmad • Sep 30 '22
My 1 year journey from complete Noob to Data Analyst in big corp(can help you as a roadmap)
Hello,
id like this to be a kind of a roadmap for anyone on learning journey. Ill try to go thoroughly through this, but short. Ill also bold up important info if you want to skim through text.
Background:
31 year old. Finished economy(Finance Major) and worked on a non fullfiling job that i hated. Wanted a change, had a lot of spare time on work which i fully used into studying. Living in country with bad economy. My pc knowledge came from...well...what you get to know from gaming. I also always knew very well hardware, building PCs, all the little caveats about it etc. But I never even touched any kind of coding, or even learned about it.
Ive studied 8-16hours a day. About 5 hours of study on job and, depending on obligations / weekend/wifes workshifts and taking care of our small baby back then, id study 4 - 8 more hours afterwork, while doing 16hrs a day on weekends. (mad respect to wife for giving me all the time)
First days i researched what i want to learn. First though was SQL but i quickly found out i need something bigger. I basically didnt know anything at all about languages and programming, not even what a front end and back end is. So after research i decided its going to be Python. I installed it, installed pycharm, turned on a 6h youtube video from Mosh and started learning. I fell in love and the interest in me grew to a maximum level. Finished that video in 2 days(not whole because later he goes into machine learning,which isnt really beginner lvl).
Ive learned basic stuff, basic synstax, data types and methods to use with them. math operations and comparisons, if statements, loops. I very well immediatelly understood everything i went through.
3rd day i made a stickman game and studied a bit more
4th day i made a labirinth game. A basic printed out in terminal and you input commands where to go(an IT colleague gave me the idea when he said it was as far as he went in programming). It was working without bugs and errors, nicely coded with lists of lists.
These two little projects taught me soo much. Ive learned more than from any source i couldve taken to study. I quickly learned doing projects and biting onto way harder things than i though i would even know anytime soon would be the best way to study for myself. It included looots of googling, stack overflow and youtube, rather than following simple things on youtube tutorials.
Ive then read a 200 page python beginner script my cousing gave me from his Uni, it took me 3 days to follow it with code.
Ive learned the basic stuff in more detail, including functions, and ive read about classes but i just didnt understand them....and i actually didnt understand classes fully for a very long time.
Then on day 7 i started working on a text based rpg , but without class knowledge i didnt advance too far, maybe after a week i ditched it. I did learn alot about dictionaryes, json files, storing data, using multiple files for projects etc. In meantime i also learned alot about virtual environments and how to use them.
Then i read automate the boring stuff, and watched the video on it, which took me a couple of days, then i read about 300 pages of Learning python, just the parts that explain what happens in background of python and how it interacts with hardware, how it runs on C, why its slow, what makes it a dynamically typed language etc. Didnt do any coding, just read those days. Ive also watched some youtube videos in that time, trying to get an idea what to work on, something large and complicated, not just a small coding challenge.
On day 30 i got an idea and started working on scraper for all the airsoft sites and idea was to make a web page with price comparisons. Ive done this for more than 30 days, then realizing there was a page that was just recently created doing the same thing. During this time i also went through Udemy course on html/css and stopped when i went through JS basics. All of this together improved my scraping(requests, bs4 and selenium) skills drastically, basically becoming really great in that field. Ive also done alot of pandas, learned from youtube videos, and regex, learning alot about data bases and data manipulation, but pandas didnt really sit there that well yet.
After that i went into creating a software that connects to Dota api(game state integrator). Its basically an api that lets you read real time dota info from matches, like score, player stats, player positions etc. Ive tried making a software that reads player positions and creates heatmaps of where the kills and ward drops happen. Learned alot about sockets, numpy and matplotlib. I remmember trying to first write down an matrix of 16000x16000(size of dota2 grid) and increment values for the position where kills and wards happen quickly learning thats way too much memory. Then i learned about numpy arrays. I also included UI for this software, so i learned alot about tkinter and threading. This was also first time i understood classes, but was not yet 100% on them.
Afterwards i went onto biggest project for me, which was also connected to dota. I could write about it for couple of pages, so ill try to keep it as short as possible. It included lots of multiprocessing, piping data, lock keys, open CV and pretty neat algorithms. It detected in parallel video and static picture ads on multiple streams across the monitor, which were automatically opened and rearranged on screen, from multiple stream providers, all packed with a simple UI in tkinter. Ive never finished it, but i did 90% of the project. I only had to do data processing and all the automatic statistics calculations on the data it collects, but after 2 and a half months of whole days work, i burned out completely. I wrote over 8000 lines of code , multiple files, lots of googling and learned SO MUCH. Then a new game came out which i wanted to play for a long time and decides to take a break for like 3 months.
I slowly built up will power to continue studying by the end of the year(around 6-7 months since beginning). I feared i wont be able to continue, that im completely burned out. but i started researching machine learning a bit more, watching youtube videos etc. I havent touched any code , anything at all for 3 months total at that time. I decided id start from january 1. again for real, and i actually did.
Started off with a fat math book. Linear algebra, calculus, markov chains, all the stuff needed for machine learning. I did study most of this through Uni, but i completely forgot it, since i havent touched math for more than 6 years. After exactly 30 days of studying that book for 8 hours a day, i was done and went with a book on machine learning by Sendtex. It was marvelous and taught me alot. Thats first time after 4 months i coded. After 2 weeks on that book, i went with multiple youtube videos from Dr. Phil on youtube, sendtex, deeplizard etc. Then i fell in love with auto pilot cars and started watching some courses about self driving cars from Tubing university.
Then i decided i want to make a self driving car in Carla simulator.
I had multiple attempts at creating an deep determenistic policy gradient AI for a car driving on a 80x80 pixel camera and having a lidar, that had values also shown on camera through focal lens equations but it never learned anything. Then i created another environment with a car that has Lidar and Semantic camera, and all the data from semantic camera and lidar was shown in birdseye view. The AI also didnt learn anything in that environment, but the code that went into creating it was very heavy on numpy and math, and its the code im proudest of. This is first time i learned more advanced class stuff aswell.
In the end i created a simple parking bot, with 8 distance sensors and it actually worked. Thats first time i actually understood some more important principles about the neural networks i was working on. This whole project was also big on object oriented programming and i kinda "cemented" my knowledge on it by now.
in meantime i made a smaller CSGO GSI program(basically same thing as for dota), but this one gathered all the data about the games and organized it in pandas, didnt finish visualization with matplotlib. I did this project just to thoroughly learn pandas(i did use it alot before but never knew it without too much googling), after thoroughly learning numpy through carla simulator. I cant say im that good with matplot. I also dont remmember when i learned basics of SQL, but i kinda went through that in 2 days and found it simple. Never went into advanced stuff. I also dont remmember when i learned basics of linux and used it a bit. Before i landed job, i installed conda and learned how to use it instead of pip and default venvs. I also read a book on scraping, python data science handbook and some other books i cant remmember now.
There were also nuuumerous other things i cant remmember, that i watched on youtube, read on reddit, done codes on codewars etc. If i didnt work on a project, i was reading something or watching something about python.
At about that time i landed a job as a data analyst. I will continue my study, especially on machine learning and AI field. In the end i want to be a data scientist. Currently im having a break from that and decided to build a bit more advanced discord bot, because i wanted a project with Async. Its in the work for like 10 days now and will take probably much more time. After that plan is to return to the beginnings of machine learning and statistics , and relearn it all from scratch, now when i understand it all much better.
I guess the end :).
If youve read this far, thank you. I hope it will help someone or maybe motivate you. After years of semi depression because of unfullfilling jobs, im finally happy with what im working. Initially i never though it would take me just a year to turn over my life, but it comes fast. So even if you think it will take you longer, just keep studying. Doing nothing certainly wont do any change. The one thought that always kept me motivated : An hour of study is an hour closer to my goal. I kind of never looked too far, just an hour by hour. Each hour of work means i stacked more knowledge in my head. Each solved error and bug means i made major step towards my goal.
Good luck in your study!
Edit:also forgot an important thing. When you get some good knowledge, read a book on data types. I suggest for begginer level a simple book with awesome handmade drawings made by grokking. Then i just skimmed through some more detailed book(i dont know name)
101
u/VigorousElk Sep 30 '22
Note to self: to become a data analyst I need to completely neglect my wife and child. Got it.
25
u/Kichmad Oct 01 '22
heh yeah, as much as i did neglect my wife, i didnt neglect my child. I spend every second day with her 4 hours after daycare, and was always there for her while studying and working. But yeah wife accepted it and it ended up better for us now. In the end, lots of jobs require people to travel, being away from family for months. We were happy because atleast we were still together.
6
u/apsu_daiad Oct 01 '22
I don’t think you neglected your wife and child. I think you sacrificed to offer them a better life. If you’re the type who would also support his wife while she pursued her professional goals, then there’s really no problem with it. People are wrong for assuming you neglected anyone to be honest.
11
u/K4k4shi Sep 30 '22
Just started to learn python. I am 31 years old and play dota as well. Can you (If possible) give me details on that dota project. It might be a good way to learn for me since I like dota and python as well. It might be advance for me, but will try to learn few things from there.
Really happy for you dude. Hope I can become a person like you in a year.
6
u/Kichmad Oct 01 '22
So csgo and dota GSI are basically the same. You place a config file in dota directory and get data through socket, read it off localhost address. I suggest research CSGO gsi on net since it has more info and it has github client already made for python, and its basically the same thing as dota GSI. You then activate the game, either play it or watch a game(when watching you gather more data) and do whatever you want with the data. People on esport tournaments use it for numerous things, like animations, graphics, effects, stage effects, twitch plugins etc.
https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration this has most of the info needed
5
3
u/NotAngryAndBitter Oct 01 '22
Thanks for this, it’s really helpful! What math books did you use? Once I get a basic knowledge of Python down that’s going to be my next step, but I have no idea the best place to start since I haven’t done anything too math-intensive in probably 15 years.
3
u/Kichmad Oct 01 '22
I used my old uni book(tho we just went theough half of it on uni). Its about 1200 pages, nicely written by Barnett, Ziegler and Byleen
3
u/colexian Oct 01 '22
OP or anyone, can I get some advice?
I am currently more into programming than I have ever been, i'm right now about to finish my first real app, i've learned so much about tkinter, I feel very comfortable coding and when I run into an issue I can figure it out. But I feel so far from being a professional, there is just SO MUCH to learn and there is so much more every day.
I code using exclusively python, without an exhaustive long ass list, I feel completely comfortable with the basics, with classes and functions and have a few libraries under my belt that I know how and when to use.
I made a discord bot coded asynchronously scraping data with the reddit API running in Google Cloud, has been working great for a solid month with no hiccups.
My current program is over a thousand lines (Which isn't a brag, a better programmer could have done the same in 200 probably) and has a nice UI and a day/night mode, it is parsing data from a 30k line XML file and displaying the data a user would actually want to see from it in nice drop down menus and text boxes.
What percentage of the way to getting a job being a programmer would I be at?
Is this like 5% or like 50%? I feel like you could easily learn 12 hours a day for your entire life and never come close to knowing a good chunk of all there is to learn.
I very much want to make this my day job and get paid to do what I am enjoying doing in my off time, but when I try to do leetcode I am completely stumped by some of the easiest problems, I can see a solution but don't know how to code it (much less code it any kind of good time complexity.)
How far along am I and what should I be locking down in order to simply start my career with the lowest on the totem pole job? (Idk, junior entry level programmer)
It has taken me years (definitely not the 8-12 hour days OP was pulling) to get this far and I am in my 30s now and feel like i'll be in my 40s before I could even hope to start applying.
3
u/Kichmad Oct 01 '22
I feel like you are on pretty solid ground now. ive decided to go into data analysis, and felt ready for a job simply after understanding object oriented programming and knowing pandas/numpy thoroughly. I dunno, just got it one day and felt good with my knowledge, where i though id be ready to tackle new unknown fields(found that i read and understand documentation much easier, or other people codes), didnt get into any hiccups on my projects regarding data analysis and felt confindent in my overall knowledge in terms that i understanded finally what people were talking about on internet on different topics
2
u/colexian Oct 01 '22
Thanks OP, I'm gonna keep at it and I'm sure one day like a light switch turning on I will feel it. There is just so much to learn and so little time.
1
u/reverendloc Oct 09 '22
Start applying for jobs now. Tbh most the time spent working will be research, learning new techniques, googling ones you’ve forgotten, and not actively writing code. You will constantly be learning on the job, so may as well get paid for it.
2
2
u/tinman_inacan Oct 01 '22
Great stuff mate. Would you mind expanding on the big project you did with OpenCV? It sounds interesting, and like something I would like to try to improve my own skills. Cheers.
2
u/Kichmad Oct 01 '22
Heh tbh im ready to talk about anything but that. I kinda want to keep it a secret, since its a really good idea which may be lucrative and i basically just need to redo it
0
Oct 01 '22
[deleted]
1
u/Kichmad Oct 01 '22
Ive replied to another user above about the dota connection. Basically dota game state integrator. You wil lfind details in the comment there.
Also thank you! I do feel like my progress will slow down now when im doing python on work most of the day. I do hope we will tackle machine learning some time soon there aswell.
21
4
u/UbiquitousThoughts Oct 01 '22
Just wanted to chime in.
Similar time commitment here and success path. 3 years from 100% noob and I'm a senior engineering manager for an automation platform. About 1 year in serious studying I landed an entry level job and leveled up on job since.
I see many many "what's the best book", tutorial, etc. All of them. It's time and building shit to get you there.
The trick is to apply to every fucking entry level job until you get hired. From day one. You'll really learn when you get hired.
Edit: college was mechanical engineering, I switched for the digital nomad lifestyle. Typing this from a bar in Montego Bay, Jamaica.
1
u/master_overthinker Oct 01 '22
That’s amazing! I think I’m like your IT coworker, learned in school but only did some meaningless project like the labyrinth game. How did you get started on your harder, interesting projects?
1
u/Kichmad Oct 01 '22
well it usually takes me couple of days till i get the idea... i shit you not , i think i got all of them on the toilet or in the shower. Its not really that i do much research, but i do think about it throughout the day multiple times. I then lay out the idea, what it would need, how i would approach it and simply get into it. Write some starting pseudo codes, develop them further and further, google each step you need to do. Sometimes 2 lines of code take whole day of research(like when i researched how to mathematically do some segment in simulator). Sometimes you need to use some library you know nothing about, then you rock tutorials and documentation about it and research it. I just go step by step in project and solve issue by issue. Usually that code is a mess. If i plan on further developing it and making it perfect, i rewrite it whole in a nicer way, after i know all the tricks and issues in it.
If you have no idea about something unique, just do something that already exists. For instance, make your own rpg text turn based game. Maybe you can advance it to pygame and make it 2d. It doesnt need to be big, 2 lvls and couple of characters or whatever assets is enough. You would want to make the engine for the game. Then if you plan to further develop it, just continue adding stuff onto engine, like levels, maps, classes, items etc.
6
u/Attesa_GT-X Oct 01 '22
Can't believe I thought I should learn C++ first because Python was "for beginners." Oh well, I am paying for my masochism but I just hope it works out :)
10
u/CaptainFoyle Oct 01 '22
Funny that you begin with something else rather than what you think is for beginners
2
2
u/hellbattt Oct 01 '22
I have never seen people referring to sentdex here much. He is great. His book on neural network from scratch is so great
0
u/1percentof2 Oct 01 '22
Big question is what's the pay of the new job. None of it really matters if you're not making more money. I'm doing a similar trajectory but I already have a good job so it's really just a supplement. Still better to be good at coding.
2
u/Kichmad Oct 01 '22
150% more than last job, increasing to 200% through 3 years. There i would have no increases
4
u/BraapSchaap Oct 01 '22
None of it really matters if you're not making more money.
Unless, you know, you like your work a lot more. It's not always all about money.
2
u/1percentof2 Oct 01 '22
You're right this is true. Coding opens so many doors and makes the job much more fulfilling.
1
1
u/UVCUBE Oct 01 '22
Thanks for this; your dedication is admirable. As someone who also hates/hated his work (I'm in food service) I've been interested in learning some python/coding to aid me in leaving an absolutely wretched industry.
1
1
32
u/user5542858 Sep 30 '22
this is cool… I think for a lot of people allocating time like this is difficult. Your dedication here is admirable. Cheers.