We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6253b07 commit 94f7a81Copy full SHA for 94f7a81
pandas/util/map.py
@@ -62,7 +62,7 @@ def auto_map(arr, f, otherargs, n_results=1, required='all'):
62
63
def mapwrap(f, n_results_default=1, required='all'):
64
@wraps(f)
65
- def wrapped(arr, *otherargs, n_results=None):
+ def wrapped(arr, n_results=None, *otherargs):
66
n_results = n_results or n_results_default
67
return auto_map(arr, f, otherargs, n_results, required)
68
0 commit comments