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

`str.extract` Method Not Implemented for `pd.ArrowDtype(pa.string())` · Issue #56268 · pandas-dev/pandas · GitHub

Pandas version checks Reproducible Example
import pandas as pd
import io

data ='''make,city08
Alfa Romeo,19
Ferrari,9
Dodge,23
Dodge,10
Subaru,17'''

df = pd.read_csv(io.StringIO(data), dtype_backend='pyarrow')
df.make.str.extract(r'([^a-z A-Z])')
Issue Description

The str.extract method raises a NotImplementedError when used on a series with the pd.ArrowDtype(pa.string()) data type.

Expected Behavior

Execute like it does with Pandas 1 strings.

Installed Versions

the str.extract method raises a NotImplementedError when used on a series with the pd.ArrowDtype(pa.string()) data type.


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