diff --git a/CHANGELOG.md b/CHANGELOG.md index 8286874d..8eb042e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ All notable changes will be documented here. --- +## Unreleased + +### Changed +- `STRINGIFY_INDEX_VALUES` is `False` by default (index `.name` will still be a string, but values will keep their original type) + ## `1.2.0` _2022-08-21_ diff --git a/dx/formatters/dataresource.py b/dx/formatters/dataresource.py index a0079269..487cc4a2 100644 --- a/dx/formatters/dataresource.py +++ b/dx/formatters/dataresource.py @@ -35,7 +35,7 @@ class DataResourceSettings(BaseSettings): DATARESOURCE_FLATTEN_INDEX_VALUES: bool = False DATARESOURCE_FLATTEN_COLUMN_VALUES: bool = True - DATARESOURCE_STRINGIFY_INDEX_VALUES: bool = True + DATARESOURCE_STRINGIFY_INDEX_VALUES: bool = False DATARESOURCE_STRINGIFY_COLUMN_VALUES: bool = True class Config: diff --git a/dx/formatters/dx.py b/dx/formatters/dx.py index 933a9695..6567637e 100644 --- a/dx/formatters/dx.py +++ b/dx/formatters/dx.py @@ -34,7 +34,7 @@ class DXSettings(BaseSettings): DX_FLATTEN_INDEX_VALUES: bool = False DX_FLATTEN_COLUMN_VALUES: bool = True - DX_STRINGIFY_INDEX_VALUES: bool = True + DX_STRINGIFY_INDEX_VALUES: bool = False DX_STRINGIFY_COLUMN_VALUES: bool = True class Config: