pandasx / options
Variable: options
constoptions:object
Defined in: src/core/format.ts:9
Display options, like pd.options.display (mutable; see setOption / optionContext).
Type Declaration
| Name | Type | Default value | Description | Defined in |
|---|---|---|---|---|
chopThreshold | number | null | - | Floats smaller than this (in absolute value) show as 0. | src/core/format.ts:25 |
colheaderJustify | "left" | "right" | - | Alignment of column headers. | src/core/format.ts:29 |
floatFormat | ((v) => string) | null | - | Custom float formatter. | src/core/format.ts:23 |
maxColumns | number | 20 | Columns shown before truncating (0 = no limit besides width). | src/core/format.ts:15 |
maxColwidth | number | 50 | Longest cell text before it is cut with '...'. | src/core/format.ts:21 |
maxRows | number | 60 | Rows shown before truncating (pandas display.max_rows). | src/core/format.ts:11 |
minRows | number | 10 | Rows shown when truncated. | src/core/format.ts:13 |
precision | number | 6 | Decimal places for floats. | src/core/format.ts:17 |
showDimensions | boolean | "truncate" | - | Show '[n rows x m columns]': only when truncated ('truncate'), always (true) or never (false). | src/core/format.ts:27 |
width | number | 80 | Line width; wider frames hide middle columns. | src/core/format.ts:19 |