A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/14095 below:

resolvers in pandas.eval should accept list-like · Issue #14095 · pandas-dev/pandas · GitHub

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4