pandas-plots 0.15.1__tar.gz → 0.15.2__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.
Files changed (23) hide show
  1. pandas_plots-0.15.2/.python-version +1 -0
  2. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/PKG-INFO +15 -7
  3. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/README.md +13 -5
  4. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/pyproject.toml +2 -2
  5. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/test.ipynb +933 -11070
  6. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/uv.lock +2 -2
  7. pandas_plots-0.15.1/.python-version +0 -1
  8. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/.gitignore +0 -0
  9. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/LICENSE +0 -0
  10. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/img/2024-02-13-00-40-27.png +0 -0
  11. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/img/2024-02-14-20-49-00.png +0 -0
  12. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/img/2024-02-19-20-49-52.png +0 -0
  13. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/img/2024-03-02-17-33-43.png +0 -0
  14. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/img/2024-03-24-09-59-32.png +0 -0
  15. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/assets/Rplots.pdf +0 -0
  16. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/assets/dsich.csv +0 -0
  17. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/assets/facets.csv +0 -0
  18. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/pandas_plots/__init__.py +0 -0
  19. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/pandas_plots/hlp.py +0 -0
  20. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/pandas_plots/pls.py +0 -0
  21. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/pandas_plots/tbl.py +0 -0
  22. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/pandas_plots/ven.py +0 -0
  23. {pandas_plots-0.15.1 → pandas_plots-0.15.2}/src/test.r +0 -0
@@ -0,0 +1 @@
1
+ 3.12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pandas-plots
3
- Version: 0.15.1
3
+ Version: 0.15.2
4
4
  Summary: A collection of helper for table handling and visualization
5
5
  Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
6
6
  Project-URL: Repository, https://github.com/smeisegeier/pandas-plots
@@ -13,7 +13,7 @@ Classifier: Intended Audience :: Science/Research
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Topic :: Scientific/Engineering
18
18
  Requires-Python: >=3.10
19
19
  Requires-Dist: connection-helper>=0.11.2
@@ -41,7 +41,9 @@ Description-Content-Type: text/markdown
41
41
  install / update package
42
42
 
43
43
  ```bash
44
- pip install pandas-plots -U
44
+ uv add -U pandas-plots
45
+ # if no uv is available:
46
+ # pip install pandas-plots -U
45
47
  ```
46
48
 
47
49
  include in python
@@ -79,7 +81,7 @@ tbl.show_num_df(
79
81
  `pandas-plots` is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions and predefined options:
80
82
 
81
83
  - `tbl` utilities for table descriptions
82
- - 🌟`show_num_df()` displays a table as styled version with additional information
84
+ - `show_num_df()` displays a table as styled version with additional information
83
85
  - `describe_df()` an alternative version of pandas `describe()` function
84
86
  - `descr_db()` a very short descr for a `duckdb` relation
85
87
  - `pivot_df()` gets a pivot table of a 3 column dataframe (or 2 columns if no weights are given)
@@ -89,7 +91,7 @@ tbl.show_num_df(
89
91
  - `pls` for plotly visualizations
90
92
  - `plot_box()` auto annotated boxplot w/ violin option
91
93
  - `plot_boxes()` multiple boxplots _(annotation is experimental)_
92
- - `plot_stacked_bars()` shortcut to stacked bars 😄
94
+ - `plot_stacked_bars()` shortcut to stacked bars
93
95
  - `plots_bars()` a standardized bar plot for a **categorical** column
94
96
  - features confidence intervals via `use_ci` option
95
97
  - `plot_histogram()` histogram for one or more **numerical** columns
@@ -105,7 +107,7 @@ tbl.show_num_df(
105
107
  <br>
106
108
 
107
109
  - `hlp` contains some (variety) helper functions
108
- - `to_series()` converts a dataframe to a series (`🚨 breaking change`)
110
+ - `to_series()` converts a dataframe to a series
109
111
  - `mean_confidence_interval()` calculates mean and confidence interval for a series
110
112
  - `wrap_text()` formats strings or lists to a given width to fit nicely on the screen
111
113
  - `replace_delimiter_outside_quotes()` when manual import of csv files is needed: replaces delimiters only outside of quotes
@@ -118,7 +120,13 @@ tbl.show_num_df(
118
120
  - `add_measures_to_pyg_config()` adds measures to a pygwalker config file to avoid frequent manual update
119
121
  <br>
120
122
 
121
- > note: theme setting can be controlled through all functions by setting the environment variable `THEME` to either light or dark
123
+ > note: theme setting ☀️ 🌔 can be controlled through all functions by setting the environment variable `THEME` to either light or dark
124
+
125
+ ## prerequisites
126
+
127
+ - ⚠️ for static image generation, this package uses Plotly's kaleido engine, which requires a system-wide installation of the Chrome or Chromium browser
128
+ - if image generation fails, it may be because a compatible browser is missing
129
+ - in such cases, please run `kaleido_get_chrome` from your terminal to install the necessary dependency.
122
130
 
123
131
  ## more examples
124
132
 
@@ -7,7 +7,9 @@
7
7
  install / update package
8
8
 
9
9
  ```bash
10
- pip install pandas-plots -U
10
+ uv add -U pandas-plots
11
+ # if no uv is available:
12
+ # pip install pandas-plots -U
11
13
  ```
12
14
 
13
15
  include in python
@@ -45,7 +47,7 @@ tbl.show_num_df(
45
47
  `pandas-plots` is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions and predefined options:
46
48
 
47
49
  - `tbl` utilities for table descriptions
48
- - 🌟`show_num_df()` displays a table as styled version with additional information
50
+ - `show_num_df()` displays a table as styled version with additional information
49
51
  - `describe_df()` an alternative version of pandas `describe()` function
50
52
  - `descr_db()` a very short descr for a `duckdb` relation
51
53
  - `pivot_df()` gets a pivot table of a 3 column dataframe (or 2 columns if no weights are given)
@@ -55,7 +57,7 @@ tbl.show_num_df(
55
57
  - `pls` for plotly visualizations
56
58
  - `plot_box()` auto annotated boxplot w/ violin option
57
59
  - `plot_boxes()` multiple boxplots _(annotation is experimental)_
58
- - `plot_stacked_bars()` shortcut to stacked bars 😄
60
+ - `plot_stacked_bars()` shortcut to stacked bars
59
61
  - `plots_bars()` a standardized bar plot for a **categorical** column
60
62
  - features confidence intervals via `use_ci` option
61
63
  - `plot_histogram()` histogram for one or more **numerical** columns
@@ -71,7 +73,7 @@ tbl.show_num_df(
71
73
  <br>
72
74
 
73
75
  - `hlp` contains some (variety) helper functions
74
- - `to_series()` converts a dataframe to a series (`🚨 breaking change`)
76
+ - `to_series()` converts a dataframe to a series
75
77
  - `mean_confidence_interval()` calculates mean and confidence interval for a series
76
78
  - `wrap_text()` formats strings or lists to a given width to fit nicely on the screen
77
79
  - `replace_delimiter_outside_quotes()` when manual import of csv files is needed: replaces delimiters only outside of quotes
@@ -84,7 +86,13 @@ tbl.show_num_df(
84
86
  - `add_measures_to_pyg_config()` adds measures to a pygwalker config file to avoid frequent manual update
85
87
  <br>
86
88
 
87
- > note: theme setting can be controlled through all functions by setting the environment variable `THEME` to either light or dark
89
+ > note: theme setting ☀️ 🌔 can be controlled through all functions by setting the environment variable `THEME` to either light or dark
90
+
91
+ ## prerequisites
92
+
93
+ - ⚠️ for static image generation, this package uses Plotly's kaleido engine, which requires a system-wide installation of the Chrome or Chromium browser
94
+ - if image generation fails, it may be because a compatible browser is missing
95
+ - in such cases, please run `kaleido_get_chrome` from your terminal to install the necessary dependency.
88
96
 
89
97
  ## more examples
90
98
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pandas-plots"
3
- version = "0.15.1"
3
+ version = "0.15.2"
4
4
  description = "A collection of helper for table handling and visualization"
5
5
  long_description = "file: README.md"
6
6
  long_description_content_type = "text/markdown"
@@ -14,7 +14,7 @@ authors = [
14
14
  classifiers = [
15
15
  "License :: OSI Approved :: MIT License",
16
16
  "Programming Language :: Python :: 3",
17
- "Programming Language :: Python :: 3.10",
17
+ "Programming Language :: Python :: 3.12",
18
18
  'Development Status :: 4 - Beta',
19
19
  'Intended Audience :: Science/Research',
20
20
  'Operating System :: OS Independent',