useful function for my work
Project description
CSV numeric data handler
This package allow to retrive numeric data from CSV table.
Support feature
- Interpolate two column and take number between
- Take column data relative to another column by index
- And more usefull function for me
Example of usage
Need .csv format data with first row be like 'header'
import DataHandler as dh
df = dh.DataHandler('path/file_name.csv')
# Data should be stored in column
column_values = df.get_column('column_name')
#Take all column with that name in 'header'
Can take a intermediate value from column relative to another column
import DataHandler as dh
import numpy as np
df = dh.DataHandler('path/file_name.csv')
time_values = np.arange(0, 11, 1)
# WORK ONLY WITH NUMPY ARRAY IN ELEMENTS PARAMETER
force = df.get_column('force', 'time', time_values, inter_value=True)
Requirements
numpy == 1.20.2
pandas == 1.2.4
scipy == 1.6.3
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
Built Distribution
Close
Hashes for data_handler_csv-0.0.1.win-amd64.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9efd07afa79b7ffda3babe41c34ee48c0f1e1345f664dd01a286cb5e16090cae |
|
MD5 | 1099f75742809da6130fc2db4ea3efa0 |
|
BLAKE2b-256 | 095a3581c81293805f249b19bcdf007597f056db7f0e4ec6820ee03896341b4f |
Close
Hashes for data_handler_csv-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ba619cac9355cf5c7deab2865697bff8e3fd1d7b8cb5b28f5de12e5813a407 |
|
MD5 | 9e8aa261c5c4239d5094dbde0f337722 |
|
BLAKE2b-256 | 7ec66d19fbaba7348e836f53f688b81d7e974d5609dec2ff1d4c0c815750674e |