Skip to content

Commit 518ef5d

Browse files
committed
Changes
1 parent 68d5efb commit 518ef5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/whatsnew/v0.25.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Other Deprecations
479479
- The internal attributes ``_start``, ``_stop`` and ``_step`` attributes of :class:`RangeIndex` have been deprecated.
480480
Use the public attributes :attr:`~RangeIndex.start`, :attr:`~RangeIndex.stop` and :attr:`~RangeIndex.step` instead (:issue:`26581`).
481481
- The :meth:`DataFrame.swapaxes` and :meth:`Series.swapaxes` methods are deprecated and will be removed in a future version.
482-
Use :meth:`DataFrame.transpose` and :meth:`Series.transpose` instead(:issue:`26654`).
482+
Use :meth:`DataFrame.transpose` and :meth:`Series.transpose` instead (:issue:`26654`).
483483

484484

485485
.. _whatsnew_0250.prior_deprecations:

pandas/tests/generic/test_generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def test_size_compat(self):
431431

432432
def test_split_compat(self):
433433
# xref GH8846
434-
o = self._construct(shape=10)
434+
o = self._construct(shape=10).values
435435
assert len(np.array_split(o, 5)) == 5
436436
assert len(np.array_split(o, 2)) == 2
437437

0 commit comments

Comments
 (0)