extending pandas data for circular data
Project description
circ-pandas
circ-pandas extends pandas data for circular data.
Mean direction
>> import pandas as pd
>> from circpandas import circseries
>> s = pd.Series([170, -160])
>> s.circ.mean(radian=False)
-175.0
Circular variance
>> import pandas as pd
>> from circpandas import circseries
>> s = pd.Series([45, -45])
>> s.circ.var(radian=False)
0.2928932188134524 # 1 - (1 / sqrt(2))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
circ_pandas-0.1.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file circ_pandas-0.1.0.tar.gz.
File metadata
- Download URL: circ_pandas-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2eabe18654d7ddc144d081a19f386c39885c6b8c0c727407a14ef5b4fad687c7
|
|
| MD5 |
026b89d311054ed26dfa79394080bf34
|
|
| BLAKE2b-256 |
6e272b61fa52a54b9ec55bfe35a569ec5d37a7ee1776af49ffec40d22caa5995
|
File details
Details for the file circ_pandas-0.1.0-py3-none-any.whl.
File metadata
- Download URL: circ_pandas-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ccf42960480a1fdca31eeb22ac16a49856614ffc5ddd5b04c2a04ac413381f
|
|
| MD5 |
db95fd6e5098003bf85b4d5db84c37b8
|
|
| BLAKE2b-256 |
046bb48c63e6d271062208ddade96c0a12b2a89742c1f74c035ad103fa540226
|