pandas-plots 0.12.30__tar.gz → 0.14.0__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 (29) hide show
  1. pandas_plots-0.14.0/.gitignore +169 -0
  2. {pandas_plots-0.12.30/src/pandas_plots.egg-info → pandas_plots-0.14.0}/PKG-INFO +21 -24
  3. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/README.md +1 -0
  4. pandas_plots-0.14.0/img/2024-02-13-00-40-27.png +0 -0
  5. pandas_plots-0.14.0/img/2024-02-14-20-49-00.png +0 -0
  6. pandas_plots-0.14.0/img/2024-02-19-20-49-52.png +0 -0
  7. pandas_plots-0.14.0/img/2024-03-02-17-33-43.png +0 -0
  8. pandas_plots-0.14.0/img/2024-03-24-09-59-32.png +0 -0
  9. pandas_plots-0.14.0/pyproject.toml +50 -0
  10. pandas_plots-0.14.0/src/assets/Rplots.pdf +0 -0
  11. pandas_plots-0.14.0/src/assets/dsich.csv +45 -0
  12. pandas_plots-0.14.0/src/assets/facets.csv +16358 -0
  13. pandas_plots-0.14.0/src/pandas_plots/__init__.py +0 -0
  14. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/src/pandas_plots/pls.py +226 -2
  15. pandas_plots-0.14.0/src/test.ipynb +5613 -0
  16. pandas_plots-0.14.0/src/test.r +28 -0
  17. pandas_plots-0.14.0/uv.lock +2191 -0
  18. pandas_plots-0.12.30/PKG-INFO +0 -178
  19. pandas_plots-0.12.30/pyproject.toml +0 -42
  20. pandas_plots-0.12.30/setup.cfg +0 -45
  21. pandas_plots-0.12.30/src/pandas_plots.egg-info/SOURCES.txt +0 -14
  22. pandas_plots-0.12.30/src/pandas_plots.egg-info/dependency_links.txt +0 -1
  23. pandas_plots-0.12.30/src/pandas_plots.egg-info/pii.py +0 -76
  24. pandas_plots-0.12.30/src/pandas_plots.egg-info/requires.txt +0 -13
  25. pandas_plots-0.12.30/src/pandas_plots.egg-info/top_level.txt +0 -2
  26. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/LICENSE +0 -0
  27. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/src/pandas_plots/hlp.py +0 -0
  28. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/src/pandas_plots/tbl.py +0 -0
  29. {pandas_plots-0.12.30 → pandas_plots-0.14.0}/src/pandas_plots/ven.py +0 -0
@@ -0,0 +1,169 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ # **/.local/**
163
+ # .env**
164
+ .DS_Store
165
+ .env
166
+ .local
167
+ src/csv.ipynb
168
+ .notes.md
169
+ **/**.duckdb
@@ -1,38 +1,34 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pandas-plots
3
- Version: 0.12.30
3
+ Version: 0.14.0
4
4
  Summary: A collection of helper for table handling and visualization
5
- Home-page: https://github.com/smeisegeier/pandas-plots
6
- Author: smeisegeier
7
- Author-email: dexterDSDo@googlemail.com
8
- License: MIT
9
- Project-URL: Documentation, https://github.com/smeisegeier/pandas-plots
10
- Project-URL: Source Code, https://github.com/smeisegeier/pandas-plots
5
+ Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
6
+ Project-URL: Repository, https://github.com/smeisegeier/pandas-plots
11
7
  Project-URL: Bug Tracker, https://github.com/smeisegeier/pandas-plots/issues
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.10
8
+ Author-email: smeisegeier <meisegeiers@rki.de>
9
+ License-File: LICENSE
10
+ Keywords: pivot,plot,plotly,tables,venn,vizualization
15
11
  Classifier: Development Status :: 4 - Beta
16
12
  Classifier: Intended Audience :: Science/Research
13
+ Classifier: License :: OSI Approved :: MIT License
17
14
  Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Topic :: Scientific/Engineering
19
18
  Requires-Python: >=3.10
20
- Description-Content-Type: text/markdown
21
- License-File: LICENSE
22
- Requires-Dist: pandas>=2.0.0
23
- Requires-Dist: plotly<6
24
- Requires-Dist: matplotlib>=3.8.2
19
+ Requires-Dist: dataframe-image>=0.2.6
20
+ Requires-Dist: duckdb>=1.3.0
21
+ Requires-Dist: jinja2>=3.1.4
25
22
  Requires-Dist: matplotlib-venn==0.11.10
26
- Requires-Dist: seaborn>=0.13.2
27
- Requires-Dist: Jinja2>=3.1.4
28
- Requires-Dist: requests>=2.32.0
29
- Requires-Dist: numpy<2.0.0
23
+ Requires-Dist: matplotlib>=3.8.2
30
24
  Requires-Dist: missingno>=0.5.2
31
- Requires-Dist: duckdb>=1.0.0
32
- Requires-Dist: kaleido>=0.2.0
33
25
  Requires-Dist: nbformat>=4.2.0
34
- Requires-Dist: dataframe_image>=0.2.6
35
- Dynamic: license-file
26
+ Requires-Dist: numpy<2.0.0
27
+ Requires-Dist: pandas>=2.0.0
28
+ Requires-Dist: plotly>=6.2
29
+ Requires-Dist: requests>=2.32.0
30
+ Requires-Dist: seaborn>=0.13.2
31
+ Description-Content-Type: text/markdown
36
32
 
37
33
  # pandas-plots
38
34
 
@@ -98,6 +94,7 @@ tbl.show_num_df(
98
94
  - `plot_joints()` a joint plot for **exactly two numerical** columns
99
95
  - `plot_quadrants()` quickly shows a 2x2 heatmap
100
96
  - `plot_facet_stacked_bars()` shows stacked bars for a facet value as subplots
97
+ - `plot_sankey()` generates a Sankey diagram
101
98
  <br>
102
99
 
103
100
  - `ven` offers functions for _venn diagrams_
@@ -175,4 +172,4 @@ _df, _details = ven.show_venn3(
175
172
 
176
173
  ## tags
177
174
 
178
- #pandas, #plotly, #visualizations, #statistics
175
+ #pandas, #plotly, #visualizations, #statistics
@@ -62,6 +62,7 @@ tbl.show_num_df(
62
62
  - `plot_joints()` a joint plot for **exactly two numerical** columns
63
63
  - `plot_quadrants()` quickly shows a 2x2 heatmap
64
64
  - `plot_facet_stacked_bars()` shows stacked bars for a facet value as subplots
65
+ - `plot_sankey()` generates a Sankey diagram
65
66
  <br>
66
67
 
67
68
  - `ven` offers functions for _venn diagrams_
@@ -0,0 +1,50 @@
1
+ [project]
2
+ name = "pandas-plots"
3
+ version = "0.14.0"
4
+ author_email = "dexterDSDo@googlemail.com"
5
+ description = "A collection of helper for table handling and visualization"
6
+ long_description = "file: README.md"
7
+ long_description_content_type = "text/markdown"
8
+ readme = "README.md"
9
+ requires-python = ">=3.10"
10
+ keywords = ["tables", "pivot", "plotly", "venn", "plot", "vizualization"]
11
+ authors = [
12
+ { name = "smeisegeier", email = "meisegeiers@rki.de" },
13
+ ]
14
+
15
+ classifiers = [
16
+ "License :: OSI Approved :: MIT License",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.10",
19
+ 'Development Status :: 4 - Beta',
20
+ 'Intended Audience :: Science/Research',
21
+ 'Operating System :: OS Independent',
22
+ 'Topic :: Scientific/Engineering'
23
+ ]
24
+
25
+ dependencies = [
26
+ "pandas>=2.0.0",
27
+ "plotly>=6.2",
28
+ "matplotlib>=3.8.2",
29
+ "matplotlib-venn==0.11.10",
30
+ "seaborn>=0.13.2",
31
+ "Jinja2>=3.1.4",
32
+ "requests>=2.32.0",
33
+ "numpy<2.0.0",
34
+ "missingno>=0.5.2",
35
+ "duckdb>=1.3.0",
36
+ "nbformat>=4.2.0",
37
+ "dataframe_image>=0.2.6"
38
+ ]
39
+
40
+ [project.urls]
41
+ Homepage = "https://github.com/smeisegeier/pandas-plots"
42
+ Repository = "https://github.com/smeisegeier/pandas-plots"
43
+ "Bug Tracker" = "https://github.com/smeisegeier/pandas-plots/issues"
44
+
45
+ [build-system]
46
+ requires = ["hatchling"] # Use hatchling as the build tool
47
+ build-backend = "hatchling.build"
48
+
49
+ # Hatchling automatically discovers packages in 'src' by default.
50
+ # No need for a separate [tool.setuptools.packages.find] section.
@@ -0,0 +1,45 @@
1
+ id;bl;label;cnt
2
+ 0;01-SH;7 - Histologie Primärtumor;14351
3
+ 22;01-SH;3 - Todesbescheinigung (DCO);1004
4
+ 23;01-SH;5 - Zytologie;146
5
+ 35;01-SH;6 - Histologie Metastase;419
6
+ 38;01-SH;1 - klinisch ohne spez. Diagnostik;65
7
+ 37;01-SH;;989
8
+ 1;01-SH;2 - klinische Diagnostik;100
9
+ 40;01-SH;4 - spez. Tumormaker;9
10
+ 39;02-HH;6 - Histologie Metastase;262
11
+ 15;02-HH;3 - Todesbescheinigung (DCO);735
12
+ 36;02-HH;4 - spez. Tumormaker;2
13
+ 3;02-HH;2 - klinische Diagnostik;35
14
+ 11;02-HH;;688
15
+ 2;02-HH;7 - Histologie Primärtumor;8692
16
+ 16;02-HH;5 - Zytologie;116
17
+ 41;03-NI;5 - Zytologie;1458
18
+ 42;03-NI;3 - Todesbescheinigung (DCO);3769
19
+ 43;03-NI;8 - Sonstige;5
20
+ 4;03-NI;;2969
21
+ 14;03-NI;0 - Obduktion;2
22
+ 13;03-NI;2 - klinische Diagnostik;151
23
+ 12;03-NI;7 - Histologie Primärtumor;34975
24
+ 5;03-NI;1 - klinisch ohne spez. Diagnostik;312
25
+ 17;03-NI;6 - Histologie Metastase;1
26
+ 21;06-HE;5 - Zytologie;289
27
+ 20;06-HE;3 - Todesbescheinigung (DCO);2103
28
+ 24;06-HE;4 - spez. Tumormaker;7
29
+ 27;06-HE;;804
30
+ 7;06-HE;7 - Histologie Primärtumor;19962
31
+ 8;06-HE;2 - klinische Diagnostik;104
32
+ 10;06-HE;0 - Obduktion;2
33
+ 6;08-BW;6 - Histologie Metastase;584
34
+ 18;08-BW;;25251
35
+ 31;08-BW;2 - klinische Diagnostik;641
36
+ 26;08-BW;5 - Zytologie;550
37
+ 25;08-BW;3 - Todesbescheinigung (DCO);3768
38
+ 19;08-BW;1 - klinisch ohne spez. Diagnostik;110
39
+ 30;08-BW;7 - Histologie Primärtumor;30655
40
+ 33;09-BY;5 - Zytologie;607
41
+ 34;09-BY;8 - Sonstige;24
42
+ 9;09-BY;;857
43
+ 29;09-BY;2 - klinische Diagnostik;1657
44
+ 28;09-BY;7 - Histologie Primärtumor;58788
45
+ 32;09-BY;3 - Todesbescheinigung (DCO);2021