File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
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
+
16
18
import pandas as pd
17
- import pandas ._testing as tm
18
19
from pandas import (
19
20
DataFrame ,
20
21
DatetimeIndex ,
23
24
Series ,
24
25
Timestamp ,
25
26
)
26
- from pandas ._config import using_string_dtype
27
+ import pandas ._testing as tm
27
28
from pandas .core .indexes .datetimes import date_range
28
29
from pandas .core .tools .datetimes import start_caching_at
29
30
from pandas .io .parsers import read_csv
@@ -870,8 +871,8 @@ def test_parse_dates_arrow_dtype_as_index(all_parsers):
870
871
],
871
872
name = "a" ,
872
873
),
873
- ). to_frame ()
874
- tm .assert_frame_equal (result , expected )
874
+ )
875
+ tm .assert_series_equals (result , expected )
875
876
876
877
877
878
@xfail_pyarrow # object dtype index
You can’t perform that action at this time.
0 commit comments