Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata committed Dec 6, 2024
1 parent e1be61c commit a691808
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ydata_profiling/model/pandas/summary_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ def pandas_describe_1d(
has_cast_type = _is_cast_type_defined(typeset, series.name)
cast_type = str(typeset.type_schema[series.name]) if has_cast_type else None

if (
has_cast_type
and not series.isna().all()
):
if has_cast_type and not series.isna().all():
vtype = typeset.type_schema[series.name]

elif config.infer_dtypes:
Expand All @@ -72,6 +69,7 @@ def pandas_describe_1d(

return summary


@get_series_descriptions.register
def pandas_get_series_descriptions(
config: Settings,
Expand Down

0 comments on commit a691808

Please sign in to comment.