Skip to content

ContinuumIO/cyberpandas

Repository files navigation

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