Skip to content

Conversation

@Charlie-XIAO
Copy link
Contributor

@Charlie-XIAO Charlie-XIAO commented Jun 25, 2023

This is a pretty dirty implementation but ATM I cannot think of a better one (b/c I'm afraid of breaking other stuff). Please let me know if there are better ways to do this.

@mroeschke mroeschke added Output-Formatting __repr__ of pandas objects, to_string Complex Complex Numbers labels Jun 26, 2023
@mroeschke mroeschke added this to the 2.1 milestone Jun 26, 2023
@mroeschke mroeschke merged commit 124585b into pandas-dev:main Jun 26, 2023
@mroeschke
Copy link
Member

Thanks @Charlie-XIAO

@Charlie-XIAO Charlie-XIAO deleted the complex-nan-disp-gen branch June 28, 2023 05:40
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
…andas-dev#53844)

* BUG: complex Series/DataFrame display all complex nans as nan+0j

* resolve mypy via type: ignore[arg-type]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complex Complex Numbers Output-Formatting __repr__ of pandas objects, to_string

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: complex Series/DataFrame display all complex nans as nan+0j

2 participants