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
| df2=df2[ df2[ "email" ].str.contains( "-deleted" )==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
| https://github.com/keras-team/keras-cv/pull/828 |
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
| pip install wifi_qr_code_generator | |
| import wifi_qr_code_generator as qr | |
| qr.wifi_qrcode('Wifi name ', False 'WPA','password') | |
| #clcoding.com |
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
| sns.lineplot(x='Date',y='Amount',data=df[df['Account Type'] == 'Reveue']) | |
| #cleanup | |
| plt.figure(figsize=(20,6)) | |
| sns.lineplot(x='Date',y='Amount',hue='Account Description',estimator=none, data=df[df['Account Type'] == 'Reveue']) | |
| plt.show | |
| #oneItem | |
| plt.figure(figsize=(20,6)) | |
| sns.lineplot(x='Date',y='Amount',hue='Account Description',estimator=none, data=df[df['Account Description'] == 'Product Sales']).set_title('Seasonal | |
| plt.show |
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.youtube.com/watch?v=B11nK1QCPRA |
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
| check file contents | |
| -- make sure the container is running | |
| docker ps | |
| -- get the container no | |
| docker exec -it 751fd3e49c68 /bin/bash | |
| ls | |
| ---docker build | |
| docker build -t ona3:latest . | |
| ---Dockerfile |
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
| crontab -e #for edit | |
| */15 * * * * python3 /home/pi/finance/simple_trader.py | |
| make sure the full path is set for position.csv in your code |
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.youtube.com/watch?v=lZ2FHTkyaMU | |
| #jupyterbook.org | |
| #https://jupyterbook.org/en/stable/start/create.html | |
| pip install -U jupyter-book | |
| jb create <name> | |
| jupyter-lab #to see html | |
| jb --help | |
| pip install ghp-import | |
| -- Create an empty repo and clone it | |
| --- cp -r mybook/* testbook/ |
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://realpython.com/python-statistics/ |
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://itnext.io/building-a-custom-google-data-studio-connector-from-a-z-b4d711a5cf58 | |
| https://bajena3.medium.com/building-a-custom-google-data-studio-connector-from-a-z-part-1-basic-setup-445a6d965d3f | |
| https://github.com/Bajena/spotify-gds-connector/tree/Tutorial1 | |
| https://datastudio.google.com/datasources/create/ | |
| https://bymarketers.co/analyse-your-email-habits-with-google-data-studio/ | |
| ------ Function | |
| function pullEmailData() { var ss = SpreadsheetApp.getActiveSheet(); var label = GmailApp.getUserLabelByName('Email Analysis'); var threads = label.getThreads(); for (var i = 0; i < threads.length; i++) {var messages = threads[i].getMessages(); for (var j = 0; j < messages.length; j++) {var to = messages[j].getTo(); var from = messages[j].getFrom(); var sub = messages[j].getSubject(); var date = messages[j].getDate(); var important = messages[j].isInPriorityInbox(); var starred = messages[j].isStarred(); ss.appendRow([to, from, sub, date, important, starred]);} threads[i].removeLabel(label);}} |