Skip to content

Commit 55d4cc3

Browse files
committed
add whatsnew, v0.25.0.rst
1 parent 9bd6491 commit 55d4cc3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/source/whatsnew/v0.25.0.rst

+11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ Backwards incompatible API changes
2828

2929
.. _whatsnew_0250.api.other:
3030

31+
Indexing and getitem
32+
^^^^^^^^^^^^^^^^^^^^
33+
34+
Indexing and getitem of pd.dataframe now accept zerodim np.array.
35+
36+
.. ipython:: python
37+
df = pd.DataFrame([[1, 2], [3, 4]])[np.array(0)]
38+
df.iloc[np.array(0)]
39+
df.loc[np.array(0)]
40+
df[np.array(0)]
41+
3142
Other API Changes
3243
^^^^^^^^^^^^^^^^^
3344

0 commit comments

Comments
 (0)