Skip to main content

Data anlysis tools with table operate for csv and excel

Project description

dalysis: for data analysis

I often need to deal with Excel and CSV table files in the process of numerical calculation and data analysis. And this is a package I wrote for the convenience of my own calculation.

If you find that there are some problems in this package, or there are functions and codes that need to be improved, please contact me or help me complete these. Thank you very much.

Something About the package

the tree of this package

dalysis
│  table.py
│  typecv.py
│  __init__.py

table.py

This module have functions table.open_csv and table.open_excel to handles excel and csv and return a object whose type is <class 'table.Table'>

typecv.py

This module have functions for type conversation.

A demo code:

''' test data.csv:
date,value1,value2
2020/1/11,1,6
2020/1/12,3,3
2020/1/13,2,1
2020/1/14,7,8
2020/1/15,3,3
2020/1/16,1,1
2020/1/17,6,66
2020/1/18,8,33
2020/1/19,4,65
2020/1/20,9,32
2020/1/21,22,4
2020/1/22,45,33
2020/1/23,2,5
2020/1/24,7,3
2020/1/25,8,7
2020/1/26,0,4
2020/1/27,4,8
'''
from dalysis import table
from dalysis import typecv
import matplotlib.pyplot as plt

tb = table.open_csv( "test data.csv","r" )
tb.output()
plt.plot( typecv.toDate(tb.head('date'),"%y/%m/%d"),tb.head('value1') )

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

dalysis-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file dalysis-0.0.2.tar.gz.

File metadata

  • Download URL: dalysis-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.2.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for dalysis-0.0.2.tar.gz
Algorithm Hash digest
SHA256 41323f39b7caacd5853140b02fb17499afa98c5fb23390c3313925c6773ba00e
MD5 49df9456cf833bc639eaa78241938aa7
BLAKE2b-256 6c1c5fe191026f54ba0f2a2df181d82f5efe2fa5b4570fe6008276dc09c7f2a9

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