Skip to content

(fix): remove PandasExtensionArray from repr - #10291

Merged
dcherian merged 2 commits into
pydata:mainfrom
ilan-gold:ig/no_pandas_extension_array_in_repr
May 7, 2025
Merged

(fix): remove PandasExtensionArray from repr#10291
dcherian merged 2 commits into
pydata:mainfrom
ilan-gold:ig/no_pandas_extension_array_in_repr

Conversation

@ilan-gold

Copy link
Copy Markdown
Contributor

Just a small fix since I noticed that repr(ds) could include PandasExtensionArray(array= as it was not being recognized as in memory, and therefore its own repr method was used (via inheritance of NDArrayMixin)

Much cleaner now!

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

@dcherian
dcherian merged commit c0dc71b into pydata:mainMay 7, 2025
dcherian added a commit to dcherian/xarray that referenced this pull request May 7, 2025
* main:
dev whats-new (pydata#10294)
Add SeasonGrouper, SeasonResampler (pydata#9524)
(fix): remove `PandasExtensionArray` from repr (pydata#10291)
Do not rely on `np.broadcast_to` to perform trivial dimension insertion (pydata#10277)
DOC: Remove reference to absolufy (pydata#10290)
Fix for scalar detection (pydata#8821)
Add Index.validate_dataarray_coord (pydata#10137)
add redirect for contributing guide (pydata#10282)
Update pre-commit hooks (pydata#10288)
Adding xarray-eopf to ecosystem.rst (pydata#10289)
Add public typing.py module (pydata#10215)
Rename Twitter to X (pydata#10283)
Add `xarray-lmfit` extension for curve fitting to ecosystem documentation (pydata#10262)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ilan-gold@dcherian