5 Unique Python Projects (beginner to intermediate)
16:53

5 Unique Python Projects (beginner to intermediate)

Tina Huang 09.04.2022 626 157 просмотров 22 463 лайков обн. 18.02.2026
Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
The projects cover a variety of different topics from NFTs to games to data science! ✉️ NEWSLETTER: https://tinahuang.substack.com/ It's about learning, coding, and generally how to get your sh*t together c: 👨‍💻 My SQL for data science interviews course (10 full interviews): https://365datascience.com/learn-sql-for-data-science-interviews/ 📊 365 Data Science: https://365datascience.pxf.io/WD0za3 (link for 57% discount for their complete data science training) 🖱️Links mentioned in the video ======================== Avery's NFT network analysis tutorial: https://www.youtube.com/watch?v=Fxdqwqo-1TI Snake game base project: https://www.geeksforgeeks.org/create-a-snake-game-using-turtle-in-python/ Ethereum price prediction base project: https://medium.com/bitgrit-data-science-publication/ethereum-price-prediction-with-python-3b3805e6e512 🔗Affiliates ======================== Check out StrataScratch for data science interview prep: https://stratascratch.com/?via=tina 🎥 My filming setup ======================== 📷 camera: https://amzn.to/3LHbi7N 🎤 mic: https://amzn.to/3LqoFJb 🔭 tripod: https://amzn.to/3DkjGHe 💡 lights: https://amzn.to/3LmOhqk 📲Socials ======================== instagram: https://www.instagram.com/hellotinah/ linkedin: https://www.linkedin.com/in/tinaw-h/ discord: https://discord.gg/5mMAtprshX 🤯Study with Tina ======================== Study with Tina channel: https://www.youtube.com/channel/UCI8JpGrDmtggrryhml8kFGw How to make a studying scoreboard: https://www.youtube.com/watch?v=KAVw910mIrI Scoreboard website: scoreboardswithtina.com livestreaming google calendar: https://bit.ly/3wvPzHB 🎥Other videos you might be interested in ======================== How I consistently study with a full time job: https://www.youtube.com/watch?v=INymz5VwLmk How I would learn to code (if I could start over): https://www.youtube.com/watch?v=MHPGeQD8TvI&t=84s 🐈‍⬛🐈‍⬛About me ======================== Hi, my name is Tina and I'm a data scientist. I was pre-med studying pharmacology at the University of Toronto until I finally accepted that I would make a terrible doctor. I didn't know what to do with myself so I worked for a year as a research assistant for a bioinformatics lab where I learned how to code and became interested in data science. I then did a masters in computer science (MCIT) at the University of Pennsylvania before ending up at my current job in tech :) 📧Contact ======================== youtube: youtube comments are by far the best way to get a response from me! linkedin: https://www.linkedin.com/in/tinaw-h/ email for business inquiries only: hellotinah@gmail.com ======================== Some links are affiliate links and I may receive a small portion of sales price at no cost to you. I really appreciate your support in helping improve this channel! :)

Оглавление (6 сегментов)

  1. 0:00 Intro 44 сл.
  2. 0:14 Automating Decision-Making 767 сл.
  3. 3:36 Personal Finance Dashboard 664 сл.
  4. 6:30 Building A Game 757 сл.
  5. 9:53 NFT Collection Network Analysis 709 сл.
  6. 12:57 Predicting Ethereum Prices 822 сл.
0:00

Intro

this video is sponsored by 365 data science but more about them later in the video hey guys how's it going welcome back to another video in this video we're gonna go through five beginner-friendly coding projects and without further ado let's go project
0:14

Automating Decision-Making

number one automating decision making because you're indecisive you know sometimes when you ask someone what do you want to eat we're like watch what do you want to do to hang out and they're just like oh i don't know anything is fine fine um or you're that person so since you don't know anyway let's build something that can make the decision for you these skills you will use firstly there's going to be base python including the use of lists as well as the random module you'll also be using a function called the input function that allows you to interact with the program also if you want to challenge yourself and make things a little bit more complex and have more features you'll use the pandas modules for data frames or tables and manipulation of these tables also apis which are application programming interfaces which allows you to interface with someone else's software okay so how i would do this let's use the example of you want to watch an anime but you don't know which anime to watch what you can do is open python and put into a list all the different anime that people have recommended you over the past months or years and randomly choose one of the anime that's in your list and then print out that anime and that's the anime you're going to watch now this is the base bare minimum project so you might want to add more functionality to this maybe you want to take into account what mood you're feeling or whether you want to watch a series or a movie because series that's like more dedication so you can add in logic with these different parameters and the simplest way of doing this is that you have your list over here and within the list have another list so like a list of lists and within each of these sub lists have the name of the anime and then you can also input the other parameters you can then make this interactive by using the input function and ask questions like what mood are you in do you want to watch a series or a movie or how many minutes do you want to watch so with this logic in place you'll be able to enter these different parameters and then create that list of lists to identify something that better suits your needs now say you want even more functionality and you don't want to input all the different anime manually yourself you want to do this automatically and also discover anime that you may not have known before this is when you can start using api to get that data programmatically i would recommend checking out a module called g can pi i'm probably pronouncing it wrong but i'll put the how dispel over here also linked in description this is a module that basically lets you grab different anime and corresponding information to that anime from my animate list you can then use information like the anime name as well as the score of the anime the genres um when it was produced how long it is things like that and you can add all of this into your recommender system now at this point you may be like see i have all this data now um probably using a nested list is not the best approach and you're correct that it's very slow and it gets pretty tedious when you're like nesting a bunch of stuff so then you should check out the pandas module this is a fundamental data science module that allows you to create tables where what is called data frames in python so you're able to create a table of all this information and query it much more quickly you can add on even more features you can start building out an interactive web app for an interface for youtube input stuff instead of just having it on the command line what i want to demonstrate here is that when you start a project don't have like a super grand idea and feel really overwhelmed when you're implementing it start really small like in this example we literally started off with just a list right that randomly outputs an anime and then after you get that working you can then build on more and more features and more functionalities and then before you know it you suddenly have this application that's able to do so many more things next project is a personal finance
3:36

Personal Finance Dashboard

project that is about tracking and budgeting and creating a dashboard of your personal finances so in this project you can use mint which is a personal finance management tool that allows you to aggregate all your different information from your bank account from your credit card for your mortgages and track all your transactions it aggregates everything into the same place so then you can download that information as a big csv file and then build up a dashboard that tracks the metrics that you're most interested in for example how much money did you spend on buying plants by the way full credit for the idea here goes to my friend avery who actually also did a full tutorial of this project so you should definitely check this out if you want a walkthrough of it linked in description the skills that you will practice here you'll be practicing bass python as well as pandas the module for creating data frames and manipulating data you'll also be using streamlit for data visualization and this is a really cool module that is pure python and allows you to change things into a shareable web app that you can share with other people to keep you accountable if you want to take it up a notch you'll also be using apis okay so how would i do this first go to mint and make sure you know all your accounts and links are linked and stuff um and then download the big csv file after you do some exploratory analysis and seeing like how your transactions are see if there's any like nulls in your data that you need to fill in things like that then you can start putting together your streamlet dashboard i would filter transactions on a monthly basis and then create bar charts for different spending categories like food entertainment rent cat toys i would also look at my total weekly spend as well as my monthly spend over the different months to see what the trend is like after you like face the reality of your spending habits like knowing what the baseline is then you can start planning out budgeting goals you should have goal metrics that are displayed really clearly on these different graphs so you know where your actual is and where your goal line is okay say you want to take this a step further and make it even better instead of having to download a big csv file and then port over to python you can use python directly to pull data um from mint to do this you should check out a third-party api that was made by someone called mint api it allows you to directly grab stuff from mint so everything is contained within that one script or program also it has more information and features that you can use i'll link the api the module in the description and it's actually done pretty well and it has really good documentation so a sprinkle of advice here if you're going through that documentation you may notice that there's a lot of terminologies and concepts that you're not familiar with don't freak out that's like a tendency of many beginner programmers it's okay that you don't understand what's happening follow the readme and the github and get like a base version to work and then you can start figuring out all the different features and all the different concepts that come into play work through it trust me you'll start learning and understanding all the other concepts as well okay so i also have a homework question for you guys so you're at this point now what if you want to be able to update your dashboard maybe every time there's a new transaction or maybe just every day or every week how would you do that let me know in the comments below how you would do it next beginner coding
6:30

Building A Game

project is building a game to ask your crush out maybe you're too socially awkward to actually talk to your crush and ask them out like a normal person then this project is for you the skills involved in this project number one social awkwardness make sure you have lots of this also python you'll be using the turtle module which lets you play around with a gui which is graphical user interface it's basically the ability to show pictures and graphics and things and interact with it you'll be using this in order to make the game which is going to be a game of snake with a twist how i would do this there is a really good resource out there that goes through how to make this base game and also the inspiration for this project so feel free to check it out i'll be linking in the descriptions this will help you build a vanilla normal snake game but you want to be able to ask your crush out so you want to put a special message when they reach a certain high score which says would you like to go out with me and the way that you do this is go through that game that you implemented and see how is it that it's being terminated right now and the way that's doing that is every time the head hits a place in the body of the snake then the game terminates so you need to go there and change termination code so that after it reaches a high score then the game will terminate and it would display your super secret message so what if you're extra socially awkward and have an extreme fear of rejection well you can elevate this some more you can do it so that maybe they reach a lower score you would have a prompt that would ask like hypothetically if i were to ask you out would you go out with me and then use the input method that we talked about in the first project so that the person can input yes or no and depending on their answer you can then terminate the game and pretend that this never happened now another point of this project in addition to helping you with your love life is to show that you can take other people's code right like you don't have to go and reinvent the wheel but you shouldn't just copy all of it you should actually make that your own this is actually really important and the more senior it is that you can get as a software engineer for example actually the better it is that you get at this plus it helps you gain a deeper understanding of that code instead of just like taking someone's thing directly as you can see a lot of these projects involve data and data science so i think we have a very fitting sponsor for this video 365 data science let's talk a little bit about them 365 data science is an online learning platform where you can learn about data business and of course data science i partnered with them last year to make my course sequel for tech and data science interviews that goes through my five-step framework for how to approach interviews um and also 10 realistic mock interviews which in my opinion and also scientifically backed is the best way to practice for these sql interviews link in the description if you're interested in checking out that course i am also working on another course with them that hopefully will come out pretty soon in the next couple months which is about how to use data science in practice to grow your business so i have these two courses with them and they have a variety of other courses on their catalog as well you can choose individual courses or you can also choose define career path certificate programs that is especially helpful if you're in the beginning of your career where you're wanting to switch into more data related roles a few months ago 365 data science rebranded and overhauled their entire platform and the learning experience is really good so if you're interested in like my specific sql for data science interview course the link is in the description and there's also a link for 57 off their complete data science training so that is a good deal all right back to the video next project
9:53

NFT Collection Network Analysis

is an nfd collection network analysis i'm sure most of you have heard about nfts by this time since nfgs have been just absolutely popping and there is a lot of money that's being poured into nfts these days since there's a lot of money this also attracts people who wanted to make their own nfc projects also like scamming people unfortunately um that make projects and just take the money and then run away it's really like the wild west over here so it's important not to just buy any nft you want to make sure that what you're investing in if you choose to invest in it is something that has value and will hold value so say if you want to have an idea of what nft that you might want to buy what's going to pop up in the future this analysis is for you not financial advice again full credit of this project goes to my friend avery who also did a full tutorial of this project which you can check out linked in the description the skills involved base python as well as the pandas module you'll be using a module called network x which is for making network graphs and you'll be using pybis for data visualization you have these big players but what we call wales and they're on twitter and discord when these big collectors that are able to spend a lot of money start buying into a project that momentum and social cloud starts perpetuating uh throughout and that project starts increasing in value this has been the case for many big projects in the past such as crypto punks and the board ape yacht club with that in mind the goal of this project is to figure out what these whales are buying into so you can identify those projects so how to do this project first you need to get the data we can use moonstream sqlite database that's on kaggle i will link in the description choose three to six big projects and make sure they're in the data set of course next get a list of everybody that owns at least one nft from these projects and what's great about the blockchain is that all this information is transparent and available for you to get then after you get a list for the people who own these nfts you can start building a network graph the way that this network will work is that for each of these nodes they're going to be that project like the specific nft projects and the edges where the things that are linking together the nodes are representative of the people who own both of these projects the weight of these edges can represent something like how many people own an nfp on both of these projects after you do this you'll have a cool network graph that looks like this and shows the inter-crossing of projects which can give you a hint as to which of these nft projects are gonna pop up next again do check out the tutorial that i ever did linked in the description after you create these nft and network analysis graphs what you may notice is that it looks a little bit messy like it's difficult to really see um all the different inter crossings so what you can do is start pruning the graph a little bit also what if you want to look at more projects than the projects that you initially pulled well instead of having to go and manually change the ids to run the entire script again what you can do is build a small program that lets you choose which projects that you want to be using in the analysis this way it's a lot easier to do this analysis with different projects and also it helps other people be able to use your software as well by the way if you're going to do these projects please link your github below as you do the projects i'm super interested to see the implementations of these projects and what other features and things that you guys think of to make a project even better final coding
12:57

Predicting Ethereum Prices

project made for beginners is predicting ethereum prices if you're interested in nfts i'm sure you're also interested in crypto because you have to use crypto to buy nfts you will probably know that ethereum is one of the most popular cryptocurrencies to buy in this project you're going to try to predict ethereum prices in the future which hopefully can give you a little bit more clarity about ethereum and trends of ethereum and potentially if you want to invest in ethereum hashtag not financial advice the full credit of the base project over here goes to this article over here which i will link in description as well so the skills involved python based python as well as pandas the use of apis specifically why finance or yahoo finance like pretty much the only thing yahoo is good for these days um anyways as well as ml time series analysis using a module called profit which was developed by facebook how would i do this well first you need to get the data so you're going to use the y finance python module in order to grab the data the full historical data because it's only been around for like what like since 2016 something like that um up until today from y finance you'll be able to get information like the opening prices the closing prices as well as the volume being traded firstly start with some exploratory data analysis look at the trend lines of ethereum as well as the volume over time you'll notice that there's a lot of big changes and lots of big volatility in particular there were two places where ethereum prices spiked a lot which is important because it's going to influence the way that we construct a model and tune it and next we're going to use profit to predict future prices of ethereum profit is super easy to use all you have to do is manipulate the data into the correct format for the ml time series forecasting and then after you do that profit basically does all the work for you this will probably give you a decent model starting off but you probably also want to make it better and do some hyper parameter tuning and exploring the different parameters like seasonality and different trends i'm not going to go into too much detail about how to actually make this into a full machine learning project and make a robust algorithm because that will be like a full other video in itself now that base project is done but let's come back to the reason why we're doing this project in the first place you want to understand ethereum prices and maybe invest a little bit into ethereum not financial advice so to do this you can do like hyper parameter tuning doing all these different things to make your model better and that may make it better for you to use when you're investing in ethereum however profit is pretty black box as in you don't really understand what's going on behind a hood and in my opinion if you're going to invest in something if i'm i don't want to make a decision purely based off what a black box algorithm tells me to i think it's more important to do additional analysis since i believe that markets are inefficient i explore things that are outside of price for example the impact of news a lot of activity and news in the crypto space is in the twitter sphere so doing some scraping or using some tools to understand how the sentiment is on twitter and what's happening on twitter is very helpful another important factor is changes in things like the interest rate um and rates of inflation so that's going to shift the interest in cryptocurrencies and would then also shift my decision what whether i want to invest now invest later how much things like that all right that is five beginner coding projects and you can add more things to make it intermediate and more advanced as well i hope this video was helpful for you guys give you some ideas and stuff to work on to start building your project as well as give you some insights into how projects work comment below which of these projects is most interesting to you and also if there's any like specific types of projects or different industries that you would like me to make some videos about i also wanted to make an announcement before i end this video i have started a brand new newsletter series a weekly newsletter it is called boops keyboard and it's about coding productivity learning and basically just like how to get your together so if you are interested please do subscribe linked in the description i will see you guys in the next video or live stream

Ещё от Tina Huang

Ctrl+V

Экстракт Знаний в Telegram

Транскрипты, идеи, методички — всё самое полезное из лучших YouTube-каналов.

Подписаться