Skip to content

straycatcoder/python_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 

Repository files navigation

Python Learning

Free Cloud Jupyter Notebooks

Kaggle: easy to work with the data, python 3.7
Deepnote: can choose the python version
Google Colab: python 3.7
Gradient: need to link a real mobile phone number (no VOIP)
Amazon SageMaker Studio Lab need to link a real mobile phone number (no VOIP)

Package Management

mamba -- replace conda, fast!

Books

Expert Python Programming - Fourth Edition
Scientific Visualization: Python + Matplotlib
Python for Data Analysis, 3E

Videos

You Can Do Really Cool Things With Functions In Python

functools.partial: https://docs.python.org/3/library/functools.html

This Is Why Python Data Classes Are Awesome

dataclass: https://docs.python.org/3.9/library/dataclasses.html

11 Tips And Tricks To Write Better Python Code

enumerate, list comprehension, sorted, set, generator, dict: .get()/.setdefault(),collections.Counter, f-strings, str.join(), mergedict {**d1, **d2}, if x in list

How To Write Unit Tests For Existing Python Code // Part 1 of 2

5 Reasons Why You Should Use Type Hints In Python

How To Use Docker To Make Local Development A Breeze
How to create a great dev environment with Docker

HTTPX Tutorial - A next-generation HTTP client for Python

Polars: The Next Big Python Data Science Library... written in RUST?

performance, better syntax

Pandas 2.0 - Everything You Need to Know

Aapache Arrow backend: nan value handling (e.g. nan will convert int64 to float) , speed, string vs object, interoperability, arrow data type

How to Create and Use Virtual Environments in Python With Poetry

Does Python have a ternary operator?

a if cond else b,

How to Use Pandas With Pandera to Validate Your Data in Python

How to check whether a file exists in Python

pathlib.Path, try except when open file then catch FileNotFoundError.

SQL Databases with Pandas and Python

setup a testing db with docker, Dbeaver
create connection (engine) with sqlalchemy
pandas: read_sql, to_sql

When to (Not) Use Dunder Methods?

LangChain is AMAZING | Quick Python Tutorial

15 Python Libraries You Should Know About in 2023

pendulum, pypdf, icecream, loguru, rich, argparse, tqdm, xarray, polars, seaborn, result, pydantic, fastAPI, SQLModel, httpx

5 Tips to Safely Use Credentials in Your Python Project

Pydantic Tutorial: data validation library

Build a typing assistant with Mistral 7B and Ollama

Articles:

The Right Way To Compare Floats in Python

math.isclose, Fraction, Decimal, more disscussion: https://news.ycombinator.com/item?id=30856434, generally float equal is just a bad practice

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published