Skip to content
Snippets Groups Projects

fix missing __globals__ attribute

Merged David Schäfer requested to merge generic-fix into develop
2 files
+ 4
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
0
@@ -64,6 +64,9 @@ def _execGeneric(
**ENVIRONMENT,
}
# some function don't have a globals attribute (e.g. np.sum)
if not hasattr(func, "__globals__"):
func.__globals__ = {}
func.__globals__.update(globs)
if isinstance(data, pd.Series):
Loading