pandas-plots 0.11.16__tar.gz → 0.11.17__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.1
2
2
  Name: pandas-plots
3
- Version: 0.11.16
3
+ Version: 0.11.17
4
4
  Summary: A collection of helper for table handling and vizualization
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.11.16
3
+ version = 0.11.17
4
4
  author = smeisegeier
5
5
  author_email = dexterDSDo@googlemail.com
6
6
  description = A collection of helper for table handling and vizualization
@@ -643,6 +643,9 @@ def print_summary(df: pd.DataFrame | pd.Series, name: str="🟠 "):
643
643
  # Calculate IQR and pass `rng=(25, 75)` to get the interquartile range
644
644
  iqr_value = stats.iqr(ser)
645
645
 
646
+ # * drop NA to keep scipy sane
647
+ ser.dropna(inplace=True)
648
+
646
649
  # Using the iqr function, we still calculate the bounds manually
647
650
  q1 = stats.scoreatpercentile(ser, 25)
648
651
  q3 = stats.scoreatpercentile(ser, 75)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandas-plots
3
- Version: 0.11.16
3
+ Version: 0.11.17
4
4
  Summary: A collection of helper for table handling and vizualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
File without changes
File without changes