File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 13
13
import numpy as np
14
14
import pytest
15
15
16
- from pandas ._config import using_string_dtype
17
-
18
16
import pandas as pd
17
+ import pandas ._testing as tm
19
18
from pandas import (
20
19
DataFrame ,
21
20
DatetimeIndex ,
24
23
Series ,
25
24
Timestamp ,
26
25
)
27
- import pandas ._testing as tm
26
+ from pandas ._config import using_string_dtype
28
27
from pandas .core .indexes .datetimes import date_range
29
28
from pandas .core .tools .datetimes import start_caching_at
30
-
31
29
from pandas .io .parsers import read_csv
32
30
33
31
pytestmark = pytest .mark .filterwarnings (
@@ -861,11 +859,11 @@ def test_parse_dates_arrow_dtype_as_index(all_parsers):
861
859
index_col = "a" ,
862
860
dtype_backend = "pyarrow" ,
863
861
)
864
- expected = pd . Series (
862
+ expected = Series (
865
863
[1 , 1 ],
866
864
name = "b" ,
867
865
dtype = "int64[pyarrow]" ,
868
- index = pd . Index (
866
+ index = Index (
869
867
[
870
868
Timestamp ("2000-01-01 00:00:00" ),
871
869
Timestamp ("2000-01-01 00:00:01" ),
You can’t perform that action at this time.
0 commit comments