Skip to content

Commit

Permalink
adding docstring to NumericIndex.insert (checked in an interactive se…
Browse files Browse the repository at this point in the history
…ssion that it works)
  • Loading branch information
realead committed Sep 8, 2018
1 parent f894fa7 commit b6459f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/core/indexes/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def is_all_dates(self):
"""
return False

@Appender(Index.insert.__doc__)
def insert(self, loc, item):
# treat NA values as nans:
if is_scalar(item) and isna(item):
Expand Down

0 comments on commit b6459f3

Please sign in to comment.