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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file datrafilcha-0.0.9.tar.gz.

File metadata

  • Download URL: datrafilcha-0.0.9.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for datrafilcha-0.0.9.tar.gz
Algorithm Hash digest
SHA256 0c73c42b7cc6d6ddc0f2f8ff94f69f5f90f0e4a88e9a1bbe285bff0612104a42
MD5 7a523cb7f862299f3d0f32611762df16
BLAKE2b-256 1886ba40b6a3438136070cf12914c666bcdae84c590dd12628ff1c14c1120b1b

See more details on using hashes here.

File details

Details for the file datrafilcha-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: datrafilcha-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for datrafilcha-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 96e4a8429b149d2fa4b061e3b181537d220a5042deb5e449f9521fcd6780f664
MD5 472681564adf424e1113822110f06556
BLAKE2b-256 05d2701375de62342d7ca6deb81f13c4da2dbac553f62029fb19e4ac961c1b61

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