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/55834 below:

Index.get_indexer casts values is given as list · Issue #55834 · pandas-dev/pandas · GitHub

Pandas version checks Reproducible Example
pd.options.future.infer_string = True

idx = pd.Index(["a", "b", None], dtype="object")
idx.get_indexer([None, "x"])


[-1 -1]
Issue Description

We cast the iterable to an Index, which will cast None to NaN and thus the fixtures won't match anymore. I think it makes sense here to keep object if idx is also object dtype?

cc @jbrockmendel @jorisvandenbossche

Expected Behavior

See above

Installed Versions

Replace this line with the output of pd.show_versions()


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