IP Address dtype and block for pandas
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci
conda-recipes/cyberpandas
cyberpandas
docs
tests
.appveyor.yml
.gitignore
.travis.yml
LICENSE
MANIFEST.in
Makefile
README.md
readthedocs.yml
setup.cfg
setup.py

README.md

Cyberpandas

Build Status Documentation Status

Cyberpandas provides support for storing IP and MAC address data inside a pandas DataFrame using pandas' Extension Array Interface

In [1]: from cyberpandas import IPArray

In [2]: import pandas as pd

In [3]: df = pd.DataFrame({"address": IPArray(['192.168.1.1', '192.168.1.10'])})

In [4]: df
Out[4]:
        address
0   192.168.1.1
1  192.168.1.10

See the documentation for more.

Installation

With Conda:

conda install -c conda-forge cyberpandas

Or from PyPI

pip install cyberpandas