From 94f7a8171790719fccf17a7dbbad5f97dc668b54 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 8 Feb 2012 12:01:54 +0100 Subject: [PATCH] Fix syntax error in map.py. --- pandas/util/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/util/map.py b/pandas/util/map.py index bb381cf066435..65ab1e974a930 100644 --- a/pandas/util/map.py +++ b/pandas/util/map.py @@ -62,7 +62,7 @@ def auto_map(arr, f, otherargs, n_results=1, required='all'): def mapwrap(f, n_results_default=1, required='all'): @wraps(f) - def wrapped(arr, *otherargs, n_results=None): + def wrapped(arr, n_results=None, *otherargs): n_results = n_results or n_results_default return auto_map(arr, f, otherargs, n_results, required)