Reputation: 101
Today, I was looking for a long time on the page http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html , trying to find something very simple: an attribute or method that would retrieve the index from the DataFrame. It doesn't show any. I scanned the page many times, as well as doing text searches through it.
Then, of course, I came to stackoverflow and got the answer almost immediately: DataFrame.index is the attribute.
Obviously, in the future, I want to be able to trust the documentation and not waste time like today. So my question is: Is there an online source of complete documentation on Pandas objects/classes (besides reading its code) that doesn't omit any attributes/methods/etc? Thanks.
Upvotes: 0
Views: 82
Reputation: 375675
Read 10 minutes to pandas. The third section makes use of the .index attribute.
See also the tutorials section of the docs.
IMO both online documentation and docstring help is very good for specific methods, that said it's difficult to be better than Google/StackOverflow for finding the answer to specific questions...
Upvotes: 1