You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the resolvers argument of pandas.eval requires a tuple and not a list
resolvers : list of dict-like or None, optional
A list of objects implementing the __getitem__ special method that you can use to inject an additional collection of namespaces to use for variable lookup. For example, this is used in the query() method to inject the index and columns variables that refer to their respective DataFrame instance attributes.
as with a list I get a
kwargs['resolvers'] = kwargs.get('resolvers', ()) + resolvers
TypeError: can only concatenate tuple (not "list") to tuple
The text was updated successfully, but these errors were encountered:
For the use case, I use it to transform timeseries according to expressions given by the user and I want to add some "variables" that are columns of specific dataframes (a bit like the query method)
I think the resolvers argument of pandas.eval requires a tuple and not a list
as with a list I get a
The text was updated successfully, but these errors were encountered: