Skip to content

Commit ec417d7

Browse files
authored
Merge pull request #5 from Genentech/dev
version 0.0.2 (#4)
2 parents dee233c + 8ae3c1c commit ec417d7

117 files changed

Lines changed: 5332 additions & 4852 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Set up Python 3.13
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.13'
16+
17+
- name: Install dependencies
18+
run: |
19+
pip install -r tests/requirements.txt
20+
21+
- name: Run tests
22+
run: |
23+
python tests/test_basic.py --inplace

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Welcome to PySumaries documentation!
22

33
PySummaries is a Python package to easily produce table summarizations
4-
from pandas dataframes.
4+
from pandas, polars or PyArrow dataframes.
5+
6+
Other dataframe libraries supported by [narwhals](https://narwhals-dev.github.io/narwhals/) (e.g. Modin, cuDF) may also work but are untested.
57

68
For more detailed information, please look at the [documentation](https://genentech.github.io/pysummaries/)
79

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.0.2
2+
* Introduced narwhals as dependency, adds support for pandas 3, polars,
3+
pyarrow
4+
* Improved tests, improved code
5+
16
# 0.0.1
27
* Added support for pyarrow pandas dtypes
38

docs/_sources/index.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
# # Welcome to PySumaries documentation!
1717
#
1818
# PySummaries is a Python package to easily produce table summarizations
19-
# from pandas dataframes.
19+
# from pandas, polars or PyArrow dataframes.
20+
# Other dataframe libraries supported by [narwhals](https://narwhals-dev.github.io/narwhals/) (e.g. Modin, cuDF) may also work but are untested.
2021
#
2122
# ## Installation
2223
#

docs/_sources/reportable_basic_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# %%
3333
import pandas as pd
34-
from IPython.core.display import display
34+
from IPython.display import display
3535

3636
from pysummaries import pandas_to_report_html
3737

docs/_sources/reportable_css1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# %% tags=["hide-input"]
3939
import pandas as pd
40-
from IPython.core.display import display, HTML
40+
from IPython.display import display, HTML
4141

4242
from pysummaries import pandas_to_report_html, get_styles
4343
# a couple of symbols with html codes or html tags

docs/_sources/reportable_css2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# %% tags=["hide-input"]
2626
import pandas as pd
27-
from IPython.core.display import display, HTML
27+
from IPython.display import display, HTML
2828

2929
from pysummaries import pandas_to_report_html, get_styles
3030
# a couple of symbols with html codes or html tags

docs/_sources/reportable_quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ df = pd.DataFrame(nums, columns=pd.MultiIndex.from_tuples(cols), index=pd.MultiI
5555
```
5656

5757
```{code-cell}
58-
from IPython.core.display import display
58+
from IPython.display import display
5959
6060
display(df)
6161
```

docs/_static/basic.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ div.sphinxsidebarwrapper {
5555

5656
div.sphinxsidebar {
5757
float: left;
58-
width: 270px;
58+
width: 230px;
5959
margin-left: -100%;
6060
font-size: 90%;
6161
word-wrap: break-word;
Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)