Skip to main content

A helper library for pulling data from netdata into a pandas dataframe.

Project description

netdata-pandas

A helper library to pull data from netdata api into a pandas dataframe.

pypi package CI

Install

pip install netdata-pandas

Quickstart

Get some data into a pandas dataframe.

from netdata_pandas.data import get_data

df = get_data('london.my-netdata.io', ['system.cpu','system.load'], after=-60, before=0)
print(df.shape)
df.head()
(61, 12)
<style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; }
.dataframe tbody tr th {
    vertical-align: top;
}

.dataframe thead th {
    text-align: right;
}
</style>
system.cpu|guest_nice system.cpu|guest system.cpu|steal system.cpu|softirq system.cpu|irq system.cpu|user system.cpu|system system.cpu|nice system.cpu|iowait system.load|load1 system.load|load5 system.load|load15
time_idx
1592257125 NaN NaN NaN NaN NaN NaN NaN NaN NaN 0.0 0.0 0.0
1592257129 0.0 0.0 0.0 0.000000 0.0 0.501253 0.751880 0.0 0.0 NaN NaN NaN
1592257130 0.0 0.0 0.0 0.000000 0.0 0.501253 0.751880 0.0 0.0 0.0 0.0 0.0
1592257131 0.0 0.0 0.0 0.249377 0.0 0.997506 0.498753 0.0 0.0 NaN NaN NaN
1592257132 0.0 0.0 0.0 0.000000 0.0 0.503778 0.755668 0.0 0.0 NaN NaN NaN

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

netdata_pandas-0.0.9.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

netdata_pandas-0.0.9-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file netdata_pandas-0.0.9.tar.gz.

File metadata

  • Download URL: netdata_pandas-0.0.9.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for netdata_pandas-0.0.9.tar.gz
Algorithm Hash digest
SHA256 4139b5d0ebea91eee381426d31ce7388d3fbbf65f4d4f4f4b7dac94caf47194c
MD5 b506be3c8ca34c2610dd38de97f138be
BLAKE2b-256 7f27d52df6d907a4016c3d8f21b6ec867d32cc1805a3342b061801743251721b

See more details on using hashes here.

File details

Details for the file netdata_pandas-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: netdata_pandas-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for netdata_pandas-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f6879b8900fbb504e4b05c8cbe3ef00ce111c7881fc078d321582ee086ae7197
MD5 fccc1b70b73b17e28d645c770c550fea
BLAKE2b-256 79fe125c22163b70cc8e9ca6ff4b908afac3d6184453e4a300f68bcff404066c

See more details on using hashes here.

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