Visualize¶
-
klar_eda.visualization.
visualize_csv
(csv, target_col=None, index_column=None, exclude_columns=[], save=True, show=False)¶ Generates various visualization charts using heuristic techniques for the csv data and save into a folder ‘Plots’.
- Parameters
csv (pandas.Dataframe/ string) – Either pandas Dataframe ( with column names as row 0 ) OR path to csv file
target_col (string, optional) – Name of the target column, defaults to last column in the dataframe.
index_column (list of string, optional) – List of column names which contain indexes/ do not contribute at all, defaults to None
exclude_columns (list, optional) – List of columns to be excluded from considering for visualization, defaults to []
save (bool, optional) – Save the results to directory, defaults to True
show (bool, optional) – Preview the results, defaults to False
-
klar_eda.visualization.
visualize_images
(data, labels, boxes=None, save=True, show=False)¶ Generates various visualization charts for given image data and saves into a directory named ‘Plots’.
- Parameters
data ([type]) – No description available
labels ([type]) – No description available
boxes ([type], optional) – No description available, defaults to None
save (bool, optional) – Save the results to directory, defaults to True
show (bool, optional) – Preview the results, defaults to False