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 7, 2018
1 parent 697bf24 commit 6e02bd4
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 6e02bd4

Please sign in to comment.