datamole-ai / edvart

An open-source Python library for Data Scientists & Data Analysts designed to simplify the exploratory data analysis process. Using Edvart, you can explore data sets and generate reports with minimal coding.
https://datamole-ai.github.io/edvart/
MIT License
48 stars 7 forks source link

Improve ergonomics of setting advanced options for sections #7

Open mbelak-dtml opened 1 year ago

mbelak-dtml commented 1 year ago

Currently, if you want to set advanced parameters of one section, you have to do something like this.

A report with default visualizations is really simple to create:

edvart.DefaultReport()

An almost default report with setting just one parameter of one section is much more complex:

(
  edvart.Report()
  .add_overview()
  .add_univariate_analysis()
  .add_bivariate_analysis(
    columns_pairs=[('col1', 'col2'), ('col3', 'col4')]
  )
  .add_multivariate_analysis()
)

A possible solution would be supporting something like:

(
  edvart.DefaultReport()
  .set_bivariate_analysis(
      columns_pairs=[('col1', 'col2'), ('col3', 'col4')]
  )
)