Skip to content

Commit 260479b

Browse files
authored
Merge branch 'main' into fix-arrow-groupby-na
2 parents 02e8910 + 68569a6 commit 260479b

File tree

3 files changed

+35
-15
lines changed

3 files changed

+35
-15
lines changed

pandas/core/frame.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,9 +3205,13 @@ def to_html(
32053205
Convert the characters <, >, and & to HTML-safe sequences.
32063206
notebook : {True, False}, default False
32073207
Whether the generated HTML is for IPython Notebook.
3208-
border : int
3209-
A ``border=border`` attribute is included in the opening
3210-
`<table>` tag. Default ``pd.options.display.html.border``.
3208+
border : int or bool
3209+
When an integer value is provided, it sets the border attribute in
3210+
the opening tag, specifying the thickness of the border.
3211+
If ``False`` or ``0`` is passed, the border attribute will not
3212+
be present in the ``<table>`` tag.
3213+
The default value for this parameter is governed by
3214+
``pd.options.display.html.border``.
32113215
table_id : str, optional
32123216
A css id is included in the opening `<table>` tag if specified.
32133217
render_links : bool, default False

pandas/io/formats/format.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,9 +897,13 @@ def to_html(
897897
``<table>`` tag, in addition to the default "dataframe".
898898
notebook : {True, False}, optional, default False
899899
Whether the generated HTML is for IPython Notebook.
900-
border : int
901-
A ``border=border`` attribute is included in the opening
902-
``<table>`` tag. Default ``pd.options.display.html.border``.
900+
border : int or bool
901+
When an integer value is provided, it sets the border attribute in
902+
the opening tag, specifying the thickness of the border.
903+
If ``False`` or ``0`` is passed, the border attribute will not
904+
be present in the ``<table>`` tag.
905+
The default value for this parameter is governed by
906+
``pd.options.display.html.border``.
903907
table_id : str, optional
904908
A css id is included in the opening `<table>` tag if specified.
905909
render_links : bool, default False

web/pandas/community/ecosystem.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -496,17 +496,29 @@ You can find more information about the Hugging Face Dataset Hub in the [documen
496496

497497
## Out-of-core
498498

499-
### [Bodo](https://bodo.ai/)
499+
### [Bodo](https://github.com/bodo-ai/Bodo)
500500

501-
Bodo is a high-performance Python computing engine that automatically parallelizes and
502-
optimizes your code through compilation using HPC (high-performance computing) techniques.
503-
Designed to operate with native pandas dataframes, Bodo compiles your pandas code to execute
504-
across multiple cores on a single machine or distributed clusters of multiple compute nodes efficiently.
505-
Bodo also makes distributed pandas dataframes queryable with SQL.
506501

507-
The community edition of Bodo is free to use on up to 8 cores. Beyond that, Bodo offers a paid
508-
enterprise edition. Free licenses of Bodo (for more than 8 cores) are available
509-
[upon request](https://www.bodo.ai/contact) for academic and non-profit use.
502+
Bodo is a high-performance compute engine for Python data processing.
503+
Using an auto-parallelizing just-in-time (JIT) compiler, Bodo simplifies scaling Pandas
504+
workloads from laptops to clusters without major code changes.
505+
Under the hood, Bodo relies on MPI-based high-performance computing (HPC) technology—making it
506+
both easier to use and often much faster than alternatives.
507+
Bodo also provides a SQL engine that can query distributed pandas dataframes efficiently.
508+
509+
```python
510+
import pandas as pd
511+
import bodo
512+
513+
@bodo.jit
514+
def process_data():
515+
df = pd.read_parquet("my_data.pq")
516+
df2 = pd.DataFrame({"A": df.apply(lambda r: 0 if r.A == 0 else (r.B // r.A), axis=1)})
517+
df2.to_parquet("out.pq")
518+
519+
process_data()
520+
```
521+
510522

511523
### [Cylon](https://cylondata.org/)
512524

0 commit comments

Comments
 (0)