Skip to content

Commit

Permalink
DOC: docstring of Index.get_loc, clarify return type
Browse files Browse the repository at this point in the history
  • Loading branch information
y-p committed Nov 24, 2012
1 parent e0f965c commit 2dcd5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def get_loc(self, key):
Returns
-------
loc : int
loc : int if unique index, possibly slice or mask if not
"""
return self._engine.get_loc(key)

Expand Down

0 comments on commit 2dcd5d4

Please sign in to comment.