A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/6214 below:

pandas 0.13 Series argmax/argmin returns index label instead of location (changed from 0.12) · Issue #6214 · pandas-dev/pandas · GitHub

------------------------ pandas 0.12 --------
In [14]: pd.version
Out[14]: '0.12.0'

In [15]: a=pd.Series(range(3), index=('2','3','4'))

In [16]: a.argmax()
Out[16]: 2

In [17]: a.idxmax()
Out[17]: '4'

------------------------ pandas 0.13 --------
In [2]: pd.version
Out[2]: '0.13.0'

In [3]: a=pd.Series(range(3), index=('2','3','4'))

In [4]: a.argmax()
Out[4]: '4'

In [5]: a.idxmax()
Out[5]: '4'


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4