Skip to content

TomasBeuzen/pypkgs

Repository files navigation

pypkgs

codecov build Documentation Status

Python package that eases the pain of concatenating Pandas categoricals!

Installation

pip install -i https://test.pypi.org/simple/ pypkgs

Dependencies

See poetry.lock for a list of dependencies.

Usage

>>> from pypkgs import pypkgs
>>> import pandas as pd
>>> a = pd.Categorical(["character", "hits", "your", "eyeballs"])
>>> b = pd.Categorical(["but", "integer", "where it", "counts"])
>>> pypkgs.catbind(a, b)
[character, hits, your, eyeballs, but, integer, where it, counts]
Categories (8, object): [but, character, counts,
eyeballs, hits, integer, where it, your]

Documentation

The official documentation is hosted on Read the Docs: https://pypkgs.readthedocs.io/en/latest/

Credits

This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the pyOpenSci/cookiecutter-pyopensci project template and the audreyr/cookiecutter-pypackage.