Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datrafilcha-0.0.9.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

datrafilcha-0.0.9-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

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