File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ including other versions of pandas.
1616Other Enhancements
1717^^^^^^^^^^^^^^^^^^
1818
19- -
19+ - Indexing and __getitem__ of DataFrame and Series now accept zerodim np.narray.
2020-
2121-
2222
@@ -28,25 +28,6 @@ Backwards incompatible API changes
2828
2929.. _whatsnew_0250.api.other :
3030
31- Indexing and getitem accept zerodim np.ndarray
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-
42- Indexing and getitem of pd.Series now accept zerodim np.array.
43-
44- .. ipython :: python
45- sr = pd.Series([1 , 2 ])
46- sr.iloc[np.array(0 )]
47- sr.loc[np.array(0 )]
48- sr[np.array(0 )]
49-
5031Other API Changes
5132^^^^^^^^^^^^^^^^^
5233
You can’t perform that action at this time.
0 commit comments