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
Installation
Using pip, you can install:
pip install data-handler-csv
Or using setup.py
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
data_handler_csv-0.0.4.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for data_handler_csv-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6883c42aff9ca0e37a4efd21c301c639e92f0a76d039b4bce9f2ae9ede4e3b13 |
|
MD5 | d999f339df4cbdcc3e31ecf621c25f35 |
|
BLAKE2b-256 | 6986c7ba9e059fd09ad6a4f2f0bef14a6387d658f2f0ffddfba006f21b4fe374 |