Last Updated on March 26, 2023 by mishou

Automatically visualize a dataset

Let me show you some sample scripts to use AutoViz, which visualizes a dataset with a line of code. You can target a particular variable. The following codes create some charts of the scores grouped by nationality:

# create charts with nationality targeted
filename = "/content/file1.csv"
sep = ","
dft = AV.AutoViz(
    filename,
    sep=",",
    depVar="nationality",
    dfte=None,
    header=0,
    verbose=0,
    lowess=False,
    chart_format="svg",
    max_rows_analyzed=150000,
    max_cols_analyzed=30,
    save_plot_dir=None
)

You can see my sample codes here:

https://colab.research.google.com/drive/1o1tEz6IyJnPwpFVEs42E16Q0lZXCcJgT?usp=sharing

By mishou

Leave a Reply

Your email address will not be published. Required fields are marked *