ContinuumIO / cyberpandas

IP Address dtype and block for pandas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

IP Address dtype and block for pandas

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 91.8%Language:PowerShell 4.3%Language:Shell 3.6%Language:Makefile 0.3%