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/4551 below:

Index to act like Series for common ops (DataFrame.index.max() crashes) · Issue #4551 · pandas-dev/pandas · GitHub

related #4056, #5202, #5502, #5519, #6027

I have a DataFrame of length 390,080, with int64 indices.
df.index.size gives the correct answer of 390,080, but df.index.max results in a huge traceback that ends with:

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/common.pyc in pprint_thing(thing, _nest_lvl, escape_chars, default_escapes, quote_strings)
   2051             hasattr(thing, 'next'):
   2052         return unicode(thing)
-> 2053     elif (isinstance(thing, dict) and
   2054           _nest_lvl < get_option("display.pprint_nest_depth")):
   2055         result = _pprint_dict(thing, _nest_lvl,quote_strings=True)

RuntimeError: maximum recursion depth exceeded in __instancecheck__

Using pandas 0.12.


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