Skip to main content

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.6.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_handler_csv-0.0.6-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file data_handler_csv-0.0.6.tar.gz.

File metadata

  • Download URL: data_handler_csv-0.0.6.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for data_handler_csv-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a279b6279fa395996ab66ccc98fb112d521e604a4cdc711aa470c6300fcb15bf
MD5 10f3de95a9b82d44f73055ecbe69591d
BLAKE2b-256 58be2b301c3a2a70089765ec01b89fdd27cefcfa1b6a57a0a24d4a5ac768aaad

See more details on using hashes here.

File details

Details for the file data_handler_csv-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for data_handler_csv-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b857a06f4e5bc281e275c9f40be19944d7aa780033274201da2db974a39a632a
MD5 1f2195dcfa24b4988f84f9f7c4b7209f
BLAKE2b-256 a716d9b1b75b59219979b04c3a2655f38a2e5772d48497257306fdb200fe1a7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page