pandas-plots 0.12.27__py3-none-any.whl → 0.12.29__py3-none-any.whl

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.
pandas_plots/tbl.py CHANGED
@@ -768,7 +768,12 @@ def print_summary(df: pd.DataFrame | pd.Series, show: bool = True, name: str=" "
768
768
  iqr_value = stats.iqr(ser)
769
769
 
770
770
  # * drop NA to keep scipy sane
771
- # ser.dropna(inplace=True)
771
+ ser.dropna(inplace=True)
772
+
773
+ # * on empty series: return
774
+ if ser.empty:
775
+ print(f"{name} -> empty")
776
+ return
772
777
 
773
778
  # Using the iqr function, we still calculate the bounds manually
774
779
  q1 = round(stats.scoreatpercentile(ser, 25), precision)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pandas-plots
3
- Version: 0.12.27
3
+ Version: 0.12.29
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
@@ -0,0 +1,10 @@
1
+ pandas_plots/hlp.py,sha256=z8rrVNbH9qMohdXPT-FksP-VkTOjI0bGFj47Sw5p3aY,21141
2
+ pandas_plots/pls.py,sha256=M-UrYcgQHWUeiuqjrq2TNJHca5cHfvS5pEp66Qu2Nrs,48886
3
+ pandas_plots/tbl.py,sha256=gjBl84mZyx13L0lRo0dztSvo_Gs3FrouklUhTQ5lIIk,32678
4
+ pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
5
+ pandas_plots-0.12.29.dist-info/licenses/LICENSE,sha256=ltLbQWUCs-GBQlTPXbt5nHNBE9U5LzjjoS1Y8hHETM4,1051
6
+ pandas_plots-0.12.29.dist-info/METADATA,sha256=w8gUfQLGOX7JencPD6w-1l_HmZJ1TYvBAgqrLNEvG1s,7431
7
+ pandas_plots-0.12.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ pandas_plots-0.12.29.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
9
+ pandas_plots-0.12.29.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
10
+ pandas_plots-0.12.29.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- pandas_plots/hlp.py,sha256=z8rrVNbH9qMohdXPT-FksP-VkTOjI0bGFj47Sw5p3aY,21141
2
- pandas_plots/pls.py,sha256=M-UrYcgQHWUeiuqjrq2TNJHca5cHfvS5pEp66Qu2Nrs,48886
3
- pandas_plots/tbl.py,sha256=RJWBHeKGTAhGpVCY57TsS_dYR-FpInP-TOsKW_tU4V4,32556
4
- pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
5
- pandas_plots-0.12.27.dist-info/licenses/LICENSE,sha256=ltLbQWUCs-GBQlTPXbt5nHNBE9U5LzjjoS1Y8hHETM4,1051
6
- pandas_plots-0.12.27.dist-info/METADATA,sha256=hTgsrlCYJZXoGl68vMJm2_fRHO15aYJozX1bg5UtBWg,7431
7
- pandas_plots-0.12.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- pandas_plots-0.12.27.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
9
- pandas_plots-0.12.27.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
10
- pandas_plots-0.12.27.dist-info/RECORD,,