Skip to content
Snippets Groups Projects
Commit 578245fe authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

additions

parent 08dba668
No related branches found
No related tags found
1 merge request!824target broadcasting and numpy array support for generics
Pipeline #204288 passed with stages
in 4 minutes and 51 seconds
......@@ -251,7 +251,10 @@ class GenericMixin:
dfilter = kwargs.get("dfilter", BAD)
dchunk, fchunk = self._data[fields].copy(), self._flags[fields].copy()
trg_idx = dchunk[dchunk.columns[0]].index
result = _execGeneric(fchunk, dchunk, func, dfilter=dfilter)
result = _inferBroadcast(result, (len(trg_idx), len(targets)))
result = _inferDF(result, cols=targets, index=trg_idx)
result = _castResult(result)
if len(result.columns) > 1 and len(targets) != len(result.columns):
......
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