
Hello everyone,
We are creating a GUI in bokeh to process datasets generated from sensors. One process we would like to add is creating a new column in a dataframe based on TextInput field in the GUI. I will update this Support question as a Q&A if I figure it out myself.
A use case is, if we have 3 (T1, T2, and T3) channels reporting temperature and we want average of the 3 channels a user will add a new channel by specifying arithmetic for the new channel as (T1+T2+T3)/3.
One way is to convert the string and use pandas or python eval. This is a huge security risk so looking at alternatives.
Found these as alternatives: pyparsing and plusminus . However, unable to use dataframe columns as input.
Was wondering if any other community members were able to come up with a solution for this. Thank you for your time.

