Skip to content

Commit c03a73c

Browse files
committed
fix some bugs in pandas==0.25.0
1 parent d7cf251 commit c03a73c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyfolio/tests/test_round_trips.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class RoundTripTestCase(TestCase):
3939
],
4040
columns=['amount', 'price', 'symbol'],
4141
index=dates_intraday[[0, 2]])
42-
.rename('dt', axis='index')
42+
.rename_axis('dt', axis='index')
4343
),
4444
(DataFrame(data=[[2, 10., 'A'],
4545
[2, 20., 'A'],
@@ -53,7 +53,7 @@ class RoundTripTestCase(TestCase):
5353
],
5454
columns=['amount', 'price', 'symbol'],
5555
index=dates_intraday[[0, 4]])
56-
.rename('dt', axis='index')
56+
.rename_axis('dt', axis='index')
5757
),
5858
])
5959
def test_groupby_consecutive(self, transactions, expected):

0 commit comments

Comments
 (0)