Python

Pandas Groupby Does Not Guarantee Unique Content in Groupby Columns, it also considers the datatypes. Dealing with mixed types requires additional attentioin.

== and is are different

Love switch statement? We can design a switch statement it in python.

tilde operator may not work as you expected

eval is powerful but really dangerous

Python package or python module autoreloading in jupyter notebook

Python package or python module autoreloading in jupyter notebook

Add Data Files to Python Package using manifest.in and setup.py

Why is pip install -r requirements.txt not working?

Flatten 2D list using sum

Python datetime on different os behaves inconsistently

If on int is dangerous

Python long string formatting

Find the actual path to file

Python copy values of scalars but addresses of lists