Skip to content
Snippets Groups Projects
Commit 8b2ba427 authored by Bert Palm's avatar Bert Palm 🎇
Browse files

minor bugfix with apply and strings

parent 5cd789a9
No related branches found
No related tags found
No related merge requests found
...@@ -591,7 +591,7 @@ class DictOfSeries: ...@@ -591,7 +591,7 @@ class DictOfSeries:
s = func(self._data.at[c].values if raw else self._data.at[c], *args, **kwds) s = func(self._data.at[c].values if raw else self._data.at[c], *args, **kwds)
new.append(s) new.append(s)
try: try:
need_dios = True if isinstance(s, pd.Series) or len(s) > 1 else need_dios need_dios = True if not _is_scalar(s) else need_dios
except TypeError: except TypeError:
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment