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.1.1.tar.gz (22.8 kB view hashes)

Uploaded source

Built Distribution

cyberpandas-1.1.1-py2.py3-none-any.whl (21.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page