Skip to content

Commit e0eee3d

Browse files
rouzazarigfyoung
authored andcommitted
Moved whatsnew to v.0.21.0
1 parent f419147 commit e0eee3d

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

doc/source/whatsnew/v0.20.0.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1731,4 +1731,3 @@ Other
17311731
- Compat for 32-bit platforms for ``.qcut/cut``; bins will now be ``int64`` dtype (:issue:`14866`)
17321732
- Bug in interactions with ``Qt`` when a ``QtApplication`` already exists (:issue:`14372`)
17331733
- Avoid use of ``np.finfo()`` during ``import pandas`` removed to mitigate deadlock on Python GIL misuse (:issue:`14641`)
1734-
- Bug in ``DataFrame.rank()`` and ``Series.rank()`` when ``method='dense'`` and ``pct=True`` (:issue:`15630`)

doc/source/whatsnew/v0.23.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,7 @@ Offsets
900900

901901
Numeric
902902
^^^^^^^
903+
- Bug in ``DataFrame.rank()`` and ``Series.rank()`` when ``method='dense'`` and ``pct=True`` (:issue:`15630`)
903904
- Bug in :class:`Series` constructor with an int or float list where specifying ``dtype=str``, ``dtype='str'`` or ``dtype='U'`` failed to convert the data elements to strings (:issue:`16605`)
904905
- Bug in :class:`Index` multiplication and division methods where operating with a ``Series`` would return an ``Index`` object instead of a ``Series`` object (:issue:`19042`)
905906
- Bug in the :class:`DataFrame` constructor in which data containing very large positive or very large negative numbers was causing ``OverflowError`` (:issue:`18584`)

pandas/tests/frame/test_rank.py

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# -*- coding: utf-8 -*-
22
import pytest
3-
from datetime import timedelta, datetime
4-
from distutils.version import LooseVersion
5-
from numpy import nan
63
import numpy as np
4+
import pandas.util.testing as tm
75

8-
from pandas import Series, DataFrame
9-
10-
import pytest
6+
from distutils.version import LooseVersion
7+
from datetime import timedelta, datetime
8+
from numpy import nan
119

12-
from pandas.compat import product
1310
from pandas.util.testing import assert_frame_equal
14-
import pandas.util.testing as tm
1511
from pandas.tests.frame.common import TestData
12+
from pandas import Series, DataFrame
13+
from pandas.compat import product
1614

1715

1816
class TestRank(TestData):

0 commit comments

Comments
 (0)