This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html>> | |
| <html lang="eng"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatable" content="IE=edge"> | |
| <meta name="'viewport" content = "width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| Hi! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install pyenv if you don't have it | |
| brew install pyenv | |
| # Install Python 3.11 | |
| pyenv install 3.11.9 | |
| # Set local Python version for this project | |
| pyenv local 3.11.9 | |
| # Create a new virtual environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To activate this environment, use | |
| # | |
| # $ conda activate py10 | |
| # | |
| # To deactivate an active environment, use | |
| # | |
| # $ conda deactivate | |
| conda activate py3.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.kaggle.com/code/ryannolan1/kaggle-housing-youtube-video | |
| plt.scatter(x='MSSubClass', y='SalePrice', data=train_df) | |
| plt.scatter(x='LotFrontage', y='SalePrice', data=train_df) | |
| train_df.query('LotFrontage > 300') | |
| stats.zscore(train_df['LotArea']).sort_values().tail(10) | |
| train_df.query('OverallCond == 5 & SalePrice > 700000') | |
| #1183 | |
| values = [598, 955, 935, 1299, 250, 314, 336, 707, 379, 1183, 692, 186, 441, 186, 524, 739, 598, 955, 636, 1062, 1191, 496, 198, 1338] | |
| train_df = train_df[train_df.Id.isin(values) == False] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rembg import remove | |
| from PIL import Image | |
| input_path = 'cl.jpg' | |
| output_path = 'output.png' | |
| input = Image.open(input_path) | |
| output = remove(input) | |
| output.save (output_path) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from apikey import apikey | |
| os.environ['OPEN_API_KEY'] = apikey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://saleshub.app.bigtincan.com/story/1234158433 | |
| Click this activation link: https://lnkd.in/gMaQSM2K | |
| https://www.linkedin.com/learning/machine-learning-with-python-foundations/using-the-exercise-files?autoSkip=true&autoplay=true&resume=false&u=111978458 | |
| msoft | |
| https://www.linkedin.com/learning/paths/become-a-data-analyst?u=111978458 | |
| https://www.linkedin.com/learning/learning-python-14393370/learning-python?autoplay=true&contextUrn=urn%3Ali%3AlyndaLearningPath%3A5ebaefdc498e440b07b53ea1&u=111978458 | |
| aws |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| conda activate py3.9 | |
| if it doesn't start | |
| conda init bash' | |
| cloes and repopen the terminal | |
| try activate again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f | |
| https://towardsdatascience.com/deep-dive-create-and-publish-your-first-python-library-f7f618719e14 | |
| https://packaging.python.org/en/latest/tutorials/packaging-projects/ | |
| https://code.tutsplus.com/tutorials/how-to-write-package-and-distribute-a-library-in-python--cms-28693 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://vercel.com/ |