Skip to content

NA float format bug #590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wesm opened this issue Jan 7, 2012 · 2 comments
Closed

NA float format bug #590

wesm opened this issue Jan 7, 2012 · 2 comments
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Jan 7, 2012

Need to put a leading space on NaN by default...I will fix this weekend if no one else gets to it @adamklein

       D        E         F      
count  3.00000  3.000000  3.00000
mean   0.45674  0.522317  0.15975
std    1.41366  1.268866  0.95044
min   -1.02552 -0.414997 -0.77343
25%   -0.20989 -0.199634 -0.32366
50%    0.60573  0.015730  0.12611
75%    1.19786  0.990974  0.62634
max    1.78999  1.966219  1.12657
count  1.00000  1.000000  1.00000
mean  -1.17800 -0.124118  0.19188
std   NaN      NaN       NaN     
min   -1.17800 -0.124118  0.19188
25%   -1.17800 -0.124118  0.19188
50%   -1.17800 -0.124118  0.19188
75%   -1.17800 -0.124118  0.19188
max   -1.17800 -0.124118  0.19188
count  4.00000  4.000000  4.00000
mean  -0.09697 -0.723308  0.18293
std    1.07386  0.870480  0.39080
min   -1.07445 -1.923554 -0.15451
25%   -0.55308 -1.080760 -0.03626
50%   -0.37468 -0.480612  0.07309
75%    0.08143 -0.123160  0.29228
max    1.43593 -0.008454  0.74007
count  3.00000  3.000000  3.00000
mean   0.39914 -0.110401 -0.82227
std    0.22223  1.146990  1.42853
min    0.17519 -1.022600 -1.78633
25%    0.28890 -0.754235 -1.64286
50%    0.40260 -0.485871 -1.49940
75%    0.51111  0.345698 -0.34025
max    0.61961  1.177267  0.81891
@wesm
Copy link
Member Author

wesm commented Jan 7, 2012

OK I fixed this and added tests. Though the string formatting code is beginning to resemble a spaghetti factory (mostly my fault at this point) =P can do something about it someday

@wesm wesm closed this as completed Jan 7, 2012
@adamklein
Copy link
Contributor

It's like whack a mole with the formatting... Hard to get right, easy
to wind up shaving yaks

On Jan 7, 2012, at 6:59 PM, Wes McKinney
[email protected]
wrote:

OK I fixed this and added tests. Though the string formatting code is beginning to resemble a spaghetti factory (mostly my fault at this point) =P can do something about it someday


Reply to this email directly or view it on GitHub:
https://github.com/wesm/pandas/issues/590#issuecomment-3399224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants