pandas-plots 0.12.12__py3-none-any.whl → 0.12.14__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/hlp.py CHANGED
@@ -490,4 +490,4 @@ def find_cols(all_cols: list[str], stubs=list[str]):
490
490
  return [col for col in all_cols if any(match in col for match in stubs)]
491
491
 
492
492
  # * extend objects to enable chaining
493
- # pd.DataFrame.find_cols = find_cols
493
+ pd.DataFrame.find_cols = find_cols
pandas_plots/pls.py CHANGED
@@ -291,10 +291,10 @@ def plot_stacked_bars(
291
291
  # # * overkill ^^
292
292
  # df.iloc[:, [0, 1]] = df.iloc[:, [0, 1]].astype(str)
293
293
 
294
- # * but last col must be numeric
295
- if df.iloc[:, -1].dtype.kind not in ("f", "i"):
296
- print("❌ last column must be numeric")
297
- return
294
+ # # * but last col must be numeric
295
+ # if df.iloc[:, -1].dtype.kind not in ("f", "i"):
296
+ # print("❌ last column must be numeric")
297
+ # return
298
298
 
299
299
  df = df.copy() # Copy the input DataFrame to avoid modifying the original
300
300
 
pandas_plots/tbl.py CHANGED
@@ -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.12
3
+ Version: 0.12.14
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,11 @@
1
+ pandas_plots/hlp.py,sha256=eKJaQqd03tYlbWXoicHi9j32zrNlpIQngj4Dni2fYTo,17230
2
+ pandas_plots/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
3
+ pandas_plots/pls.py,sha256=-3sPY9NwftQPWHfsmXC7pHc4es_SHt9gelw_hwoeH8c,47409
4
+ pandas_plots/tbl.py,sha256=205LfHkLhZKvqaIqPGEo-t6m7nLPTT5FNGVfVH_o1WA,31916
5
+ pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
6
+ pandas_plots-0.12.14.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
7
+ pandas_plots-0.12.14.dist-info/METADATA,sha256=hJTs9au-2PcyREak5CxqqBlrOktUi0cciATfXjdXUCs,7442
8
+ pandas_plots-0.12.14.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
+ pandas_plots-0.12.14.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
10
+ pandas_plots-0.12.14.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
11
+ pandas_plots-0.12.14.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- pandas_plots/hlp.py,sha256=CRj8vqQRxcT7XDdLZ0b3ESNyuUiqUJvGIj9EtC-K4Y8,17232
2
- pandas_plots/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
3
- pandas_plots/pls.py,sha256=au4ykzTIEmcMEfRTUqEZlXotiXFfkQx19Q0VjSwBJqI,47401
4
- pandas_plots/tbl.py,sha256=tuTDRFaD4lKQ2fMeMCJwnJL65zXuUGVQ6uwQNVa0y6Q,31883
5
- pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
6
- pandas_plots-0.12.12.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
7
- pandas_plots-0.12.12.dist-info/METADATA,sha256=lZSmZkE4fGmhkertw_Ts1imCS22LmcbSHVoGvTqJtCw,7442
8
- pandas_plots-0.12.12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
- pandas_plots-0.12.12.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
10
- pandas_plots-0.12.12.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
11
- pandas_plots-0.12.12.dist-info/RECORD,,