forked from pola-rs/polars
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(python, rust): properly interpret FMT_MAX_ROWS - remove arbitrary…
… minimum, fix Series formatting (pola-rs#5281)
- Loading branch information
1 parent
5d02f50
commit ca6b2a2
Showing
7 changed files
with
277 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
pub(crate) const FMT_STR_LEN: &str = "POLARS_FMT_STR_LEN"; | ||
// Formatting environment variables (typically referenced/set from the python-side Config object) | ||
pub(crate) const FMT_MAX_COLS: &str = "POLARS_FMT_MAX_COLS"; | ||
pub(crate) const FMT_MAX_ROWS: &str = "POLARS_FMT_MAX_ROWS"; | ||
pub(crate) const FMT_STR_LEN: &str = "POLARS_FMT_STR_LEN"; | ||
pub(crate) const FMT_TABLE_CELL_ALIGNMENT: &str = "POLARS_FMT_TABLE_CELL_ALIGNMENT"; | ||
pub(crate) const FMT_TABLE_DATAFRAME_SHAPE_BELOW: &str = "POLARS_FMT_TABLE_DATAFRAME_SHAPE_BELOW"; | ||
pub(crate) const FMT_TABLE_FORMATTING: &str = "POLARS_FMT_TABLE_FORMATTING"; | ||
pub(crate) const FMT_TABLE_HIDE_COLUMN_DATA_TYPES: &str = "POLARS_FMT_TABLE_HIDE_COLUMN_DATA_TYPES"; | ||
pub(crate) const FMT_TABLE_HIDE_COLUMN_NAMES: &str = "POLARS_FMT_TABLE_HIDE_COLUMN_NAMES"; | ||
pub(crate) const FMT_TABLE_HIDE_COLUMN_SEPARATOR: &str = "POLARS_FMT_TABLE_HIDE_COLUMN_SEPARATOR"; | ||
pub(crate) const FMT_TABLE_HIDE_DATAFRAME_SHAPE_INFORMATION: &str = | ||
"POLARS_FMT_TABLE_HIDE_DATAFRAME_SHAPE_INFORMATION"; | ||
pub(crate) const FMT_TABLE_INLINE_COLUMN_DATA_TYPE: &str = | ||
"POLARS_FMT_TABLE_INLINE_COLUMN_DATA_TYPE"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.