Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG: in _nsorted for frame with duplicated values index #13412
Comments
Tux1
changed the title from
BUG: in _nsorted for frame to BUG: in _nsorted for frame with duplicated values index
Jun 9, 2016
jorisvandenbossche
added the
Bug
label
Jun 9, 2016
|
Indeed:
(@Tux1 side note for future reference, it is always nice to provide a small reproducible example when opening an issue) |
jreback
added Difficulty Novice Effort Low
labels
Jun 9, 2016
jreback
added this to the
Next Major Release
milestone
Jun 9, 2016
|
Yes I will fix that soon
|
|
my fix is not very elegant but I don't see any other solution to deal with MultiIndex and duplicated value index |
Tux1
referenced
this issue
Jun 12, 2016
Closed
BUG: in _nsorted for frame with duplicated values index #13428
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Nov 21, 2016
|
|
mroeschke |
86e186b
|
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Nov 22, 2016
|
|
mroeschke |
9b1ca18
|
mroeschke
referenced
this issue
Nov 22, 2016
Closed
BUG: _nsorted incorrect with duplicated values in index (#13412) #14707
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Nov 23, 2016
|
|
mroeschke |
fdfaa97
|
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Nov 24, 2016
|
|
mroeschke |
b414a3e
|
jreback
modified the milestone: 0.19.2, Next Major Release
Nov 25, 2016
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Nov 25, 2016
|
|
mroeschke |
0e6ea02
|
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Dec 4, 2016
|
|
mroeschke |
d03be72
|
jreback
closed this
in 6e514da
Dec 6, 2016
chris-b1
referenced
this issue
Dec 9, 2016
Closed
BUG: DataFrame.nlargest() returns incorrect result when DataFrame has non-unique index #14846
jorisvandenbossche
added a commit
that referenced
this issue
Dec 15, 2016
|
|
mroeschke + jorisvandenbossche |
11eb8ab
|
shankararul
commented
Mar 13, 2017
|
Sum seems to work fine in .19.2 But with count, it doesn't seem to make sense. The df gets repeated as many times as the "n". Is that a bug or am i doing something wrong ?
|
|
@shankararul see: #15297 |
jerome-white
added a commit
to jerome-white/pyzrt
that referenced
this issue
May 22, 2017
|
|
jerome-white |
5179363
|
Tux1 commentedJun 9, 2016
•
edited
The function below has been incorrectly implemented. If the frame has an index with duplicated values, you will get a result with more than
nrows and not properly sorted. Sonsmallestandnlargestfor DataFrame doesn't return a correct frame in this particular case.