Skip to main content

IP Address type for pandas

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyberpandas-1.0.0.tar.gz (20.4 kB view hashes)

Uploaded Source

Built Distribution

cyberpandas-1.0.0-py2.py3-none-any.whl (19.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page