No project description provided
Project description
datrafilcha
Data transformed/filtred charted.
Give CSV, choose column, choose function, get plot.
Data filters/transformers
-
Uniq values: count most repeated lines
-
Frequency of occurrences: Suppose you want to know how often you will meet the value when reading list of values line by line expressed as histogram. For example in the following set: a,b,a,b,a,b,a,b We have 8 items and we want to know the frequency of occurrences of letter b. X axe value = number of items - sequence Y axe value = for each x - y is either 0 b is not present or 1 b is present
Outputs x,y coordinates 0:0,1:1,2:0,3:1,4:0:5:1... each 1 is bar on plot, 0 is empty space
Sample code
from datrafilcha import facade
configuration = {
'id': 'UniqValues',
'column_name': <COLUMN NAME>,
'desc': True,
'limit': 5,
}
data_filters_facade = facade.DataFiltersFacade()
html_plot = data_filters_facade.csv_column(configuration,
data_source_file)
with open('new_plot.html', 'w') as f:
f.write(new_chart.html)
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
Built Distribution
Hashes for datrafilcha-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e4a8429b149d2fa4b061e3b181537d220a5042deb5e449f9521fcd6780f664 |
|
MD5 | 472681564adf424e1113822110f06556 |
|
BLAKE2b-256 | 05d2701375de62342d7ca6deb81f13c4da2dbac553f62029fb19e4ac961c1b61 |