Skip to content

Conversation

@sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 3, 2015

The result of DataFrame.quantile should have Float64Index as below, but current test case doesn't check it.

import pandas as pd
pd.DataFrame([1, 2, 3, 4]).quantile([0.5, 0.75]).index
# Float64Index([0.5, 0.75], dtype='float64')

@sinhrks sinhrks added Testing pandas testing functions or related to the test suite Numeric Operations Arithmetic, Comparison, and Logical operations labels Jul 3, 2015
@sinhrks sinhrks added this to the 0.17.0 milestone Jul 3, 2015
@TomAugspurger
Copy link
Contributor

👍

@sinhrks
Copy link
Member Author

sinhrks commented Jul 4, 2015

Thanks for checking. Merging.

sinhrks added a commit that referenced this pull request Jul 4, 2015
TST: DataFrame.quantile should have Float64Index
@sinhrks sinhrks merged commit 9da54ad into pandas-dev:master Jul 4, 2015
@sinhrks sinhrks deleted the test_quantile branch July 4, 2015 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Numeric Operations Arithmetic, Comparison, and Logical operations Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants