Skip to content

Commit f27c6a0

Browse files
authored
Update missing.py
1 parent 7491dcb commit f27c6a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/missing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ def _interp_limit(invalid, fw_limit, bw_limit):
171171

172172
if limit is not None:
173173
if is_integer(limit) and limit < 1:
174-
raise ValueError('`limit` keyword argument must be greater '
175-
'than 0.')
174+
raise ValueError('Limit must be greater than 0.')
176175
if limit_direction == 'forward':
177176
violate_limit = sorted(start_nans | set(_interp_limit(invalid,
178177
limit, 0)))

0 commit comments

Comments
 (0)