pandas-plots 0.12.11__tar.gz → 0.12.13__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pandas-plots
3
- Version: 0.12.11
3
+ Version: 0.12.13
4
4
  Summary: A collection of helper for table handling and visualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pandas-plots
3
- version = 0.12.11
3
+ version = 0.12.13
4
4
  author = smeisegeier
5
5
  author_email = dexterDSDo@googlemail.com
6
6
  description = A collection of helper for table handling and visualization
@@ -723,7 +723,7 @@ def print_summary(df: pd.DataFrame | pd.Series, show: bool = True, name: str=" "
723
723
 
724
724
  # display(df)
725
725
 
726
- if len(df.columns) == 1:
726
+ if isinstance(df, pd.DataFrame) and len(df.columns) == 1:
727
727
  df = df.to_series()
728
728
 
729
729
  pd.api.types.is_numeric_dtype(df)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pandas-plots
3
- Version: 0.12.11
3
+ Version: 0.12.13
4
4
  Summary: A collection of helper for table handling and visualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
File without changes
File without changes