Skip to content

Commit fa57a02

Browse files
committed
Backport fixes
1 parent d98026e commit fa57a02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/unit-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.2.x
7+
- 2.3.x
88
pull_request:
99
branches:
1010
- main
11-
- 2.2.x
11+
- 2.3.x
1212
paths-ignore:
1313
- "doc/**"
1414
- "web/**"

pandas/core/indexes/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from pandas._config import (
2424
get_option,
2525
using_copy_on_write,
26-
using_pyarrow_string_dtype,
26+
using_string_dtype,
2727
)
2828

2929
from pandas._libs import (
@@ -7015,7 +7015,7 @@ def insert(self, loc: int, item) -> Index:
70157015

70167016
out = Index._with_infer(new_values, name=self.name)
70177017
if (
7018-
using_pyarrow_string_dtype()
7018+
using_string_dtype()
70197019
and is_string_dtype(out.dtype)
70207020
and new_values.dtype == object
70217021
):

0 commit comments

Comments
 (0)