We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code in Experiment.delta
Experiment.delta
pattern = '([a-zA-Z][0-9a-zA-Z_]*)' self.kpis.loc[:,kpiName] = eval(re.sub(pattern, r'self.kpis.\1.astype(float)', dk['formula']))
will only work for fomulas with simple ratios (and also too hacky).
However, I found that some of the KPIs here requires sum/count/>0, etc...
The text was updated successfully, but these errors were encountered:
... and using eval on unvalidated input is a potential security breach.
eval
Sorry, something went wrong.
No branches or pull requests
The following code in
Experiment.delta
will only work for fomulas with simple ratios (and also too hacky).
However, I found that some of the KPIs here requires sum/count/>0, etc...
The text was updated successfully, but these errors were encountered: