Skip to content

Commit

Permalink
fix(eda): fix display in plot(df)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglinpeng committed Nov 25, 2021
1 parent 3d0a148 commit c11bb94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions dataprep/eda/distribution/compute/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def compute_overview(
data.append(
(col, col_dtype, dask.delayed(_calc_line_dt)(frame.frame[[col]], cfg.line.unit))
)
else:
raise ValueError(f"unprocessed col:{col}, type:{col_dtype}")

ov_stats = calc_stats(frame, cfg) # overview statistics
data, ov_stats = dask.compute(data, ov_stats)
Expand Down
1 change: 1 addition & 0 deletions dataprep/tests/eda/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_geo(geodf: dd.DataFrame) -> None:

def test_random_df(random_df: pd.DataFrame) -> None:
plot(random_df)
plot(random_df, display=["Bar Chart"])


def test_plot_titanic() -> None:
Expand Down

0 comments on commit c11bb94

Please sign in to comment.