@@ -548,7 +548,7 @@ def multiindex_year_month_day_dataframe_random_data():
548548 """
549549 tdf = DataFrame (
550550 np .random .default_rng (2 ).standard_normal ((100 , 4 )),
551- columns = Index (list ("ABCD" ), dtype = object ),
551+ columns = Index (list ("ABCD" )),
552552 index = date_range ("2000-01-01" , periods = 100 , freq = "B" ),
553553 )
554554 ymd = tdf .groupby ([lambda x : x .year , lambda x : x .month , lambda x : x .day ]).sum ()
@@ -743,7 +743,7 @@ def string_series() -> Series:
743743 """
744744 return Series (
745745 np .arange (30 , dtype = np .float64 ) * 1.1 ,
746- index = Index ([f"i_{ i } " for i in range (30 )], dtype = object ),
746+ index = Index ([f"i_{ i } " for i in range (30 )]),
747747 name = "series" ,
748748 )
749749
@@ -754,7 +754,7 @@ def object_series() -> Series:
754754 Fixture for Series of dtype object with Index of unique strings
755755 """
756756 data = [f"foo_{ i } " for i in range (30 )]
757- index = Index ([f"bar_{ i } " for i in range (30 )], dtype = object )
757+ index = Index ([f"bar_{ i } " for i in range (30 )])
758758 return Series (data , index = index , name = "objects" , dtype = object )
759759
760760
@@ -846,8 +846,8 @@ def int_frame() -> DataFrame:
846846 """
847847 return DataFrame (
848848 np .ones ((30 , 4 ), dtype = np .int64 ),
849- index = Index ([f"foo_{ i } " for i in range (30 )], dtype = object ),
850- columns = Index (list ("ABCD" ), dtype = object ),
849+ index = Index ([f"foo_{ i } " for i in range (30 )]),
850+ columns = Index (list ("ABCD" )),
851851 )
852852
853853
0 commit comments