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

Fix warnings

parent 9a34c16a
No related branches found
No related tags found
1 merge request!858Fix warnings
......@@ -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