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

Merge branch 'numpyNaNFuncs' into 'develop'

Fix warnings

See merge request !858
parents 9a34c16a 9c28583a
No related branches found
No related tags found
1 merge request!858Fix warnings
Pipeline #208260 passed with stages
in 5 minutes and 10 seconds
......@@ -434,7 +434,10 @@ def getApply(in_obj, apply_obj, attr_access="__name__", attr_or="apply") -> pd.S
"""
try:
out = getattr(in_obj, getattr(apply_obj, attr_access))()
access = getattr(apply_obj, attr_access)
if access.startswith("nan"):
access = access[3:]
out = getattr(in_obj, access)()
except AttributeError:
try:
# let's try to run it somewhat optimized
......
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