🗒 Read Specific Columns From CSV File
https://www.pythonforbeginners.com/basics/read-specific-columns-from-csv-file
@pythonl
https://www.pythonforbeginners.com/basics/read-specific-columns-from-csv-file
@pythonl
🔋 Recipes from Python SQLite docs
https://rednafi.github.io/reflections/recipes-from-python-sqlite-docs.html
@pythonl
https://rednafi.github.io/reflections/recipes-from-python-sqlite-docs.html
@pythonl
🔥 10 Unknown Security Pitfalls for Python
https://blog.sonarsource.com/10-unknown-security-pitfalls-for-python/
@pythonl
https://blog.sonarsource.com/10-unknown-security-pitfalls-for-python/
@pythonl
This media is not supported in your browser
VIEW IN TELEGRAM
⌚ Use pandas DateOffsets for easy date manipulation
https://www.wrighters.io/use-pandas-dateoffsets-for-easy-date-manipulation/
@pythonl
import pandas as pd
now = pd.Timestamp.now()
print("Add a day:", now + pd.offsets.DateOffset(days=1))
print("Add a week:", now + pd.offsets.DateOffset(weeks=1))
print("Add a month:", now + pd.offsets.DateOffset(months=1))
print("Add an hour:", now + pd.offsets.DateOffset(hours=1))
print("Add a day, replace the hour:", now + pd.offsets.DateOffset(days=1, hour=13))
print("Add a month, normalize:", now + pd.offsets.DateOffset(month=1, normalize=True))
print("Add 2 days across DST change:", pd.Timestamp("2022-11-05 00:00:00", tz="America/Chicago") + pd.offsets.DateOffset(days=2))
print("Add 2 days across DST change (with Timedelta, no adjustment):", pd.Timestamp("2022-11-05 00:00:00", tz="America/Chicago") + pd.Timedelta(days=2))
https://www.wrighters.io/use-pandas-dateoffsets-for-easy-date-manipulation/
@pythonl
↙️ Left Join Dataframes in Python
https://www.pythonforbeginners.com/basics/left-join-dataframes-in-python
@pythonl
https://www.pythonforbeginners.com/basics/left-join-dataframes-in-python
@pythonl
This media is not supported in your browser
VIEW IN TELEGRAM
🌐 translatepy
An aggregation of multiple translation API
List of Built-in Services
- Microsoft Bing Translator
- DeepL
- Google Translate
- LibreTranslate
- Microsoft Translator
- MyMemory
- Reverso
- Translate.com
- Yandex Translate
⚙️ Github
@pythonl
An aggregation of multiple translation API
pip install --upgrade translatepy
List of Built-in Services
- Microsoft Bing Translator
- DeepL
- Google Translate
- LibreTranslate
- Microsoft Translator
- MyMemory
- Reverso
- Translate.com
- Yandex Translate
⚙️ Github
@pythonl
GitHub
GitHub - Animenosekai/translate: A module grouping multiple translation APIs
A module grouping multiple translation APIs. Contribute to Animenosekai/translate development by creating an account on GitHub.
https://www.pythonforbeginners.com/basics/numpy-array-operations-in-python
@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM