diff --git a/dios/dios.py b/dios/dios.py index 72e83f422db3be41ad6b725be607d77c3971caf4..f4533d8b058d1bb6d9d6123cf010ce0a24697a13 100644 --- a/dios/dios.py +++ b/dios/dios.py @@ -591,7 +591,7 @@ class DictOfSeries: s = func(self._data.at[c].values if raw else self._data.at[c], *args, **kwds) new.append(s) 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: pass