Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1018 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 1018 Bytes

foocat Python package

Tiffany Timbers, 2020-02-19

note - this is a toy Python package repo for UBC's DSCI 524 Collaborative Software Development course

Python package that eases the pain concatenating Pandas categoricals!

codecov Release

Installation:

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

Dependencies

  • Pandas

Usage

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