orphan: |
---|
{{ header }}
These are the changes in pandas 0.25.0. See :ref:`release` for a full changelog including other versions of pandas.
Indexing and getitem of pd.DataFrame now accept zerodim np.array.
.. ipython:: python df = pd.DataFrame([[1, 2], [3, 4]])[np.array(0)] df.iloc[np.array(0)] df.loc[np.array(0)] df[np.array(0)]
Indexing and getitem of pd.Series now accept zerodim np.array.
.. ipython:: python sr = pd.Series([1, 2]) sr.iloc[np.array(0)] sr.loc[np.array(0)] sr[np.array(0)]
.. contributors:: v0.24.x..HEAD