Tools for working with pandas categoricals
forcats (in python)
This is a port of the popular R package forcats to python.
NOTE: I am in the process of moving the forcats module from machow/siuba to here. In the meantime, you can install and use it from there.
First, install siuba:
pip install siuba
Then, you can import forcats using...
from siuba.dply.forcats import fct_lump, fct_reorder # etc..
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size forcats-0.0.1.tar.gz (1.4 kB)||File type Source||Python version None||Upload date||Hashes View|