@@ -600,7 +600,7 @@ def multiindex_year_month_day_dataframe_random_data():
600600 """
601601 tdf = DataFrame (
602602 np .random .default_rng (2 ).standard_normal ((100 , 4 )),
603- columns = Index (list ("ABCD" ), dtype = object ),
603+ columns = Index (list ("ABCD" )),
604604 index = date_range ("2000-01-01" , periods = 100 , freq = "B" ),
605605 )
606606 ymd = tdf .groupby ([lambda x : x .year , lambda x : x .month , lambda x : x .day ]).sum ()
@@ -787,7 +787,7 @@ def string_series() -> Series:
787787 """
788788 return Series (
789789 np .arange (30 , dtype = np .float64 ) * 1.1 ,
790- index = Index ([f"i_{ i } " for i in range (30 )], dtype = object ),
790+ index = Index ([f"i_{ i } " for i in range (30 )]),
791791 name = "series" ,
792792 )
793793
@@ -798,7 +798,7 @@ def object_series() -> Series:
798798 Fixture for Series of dtype object with Index of unique strings
799799 """
800800 data = [f"foo_{ i } " for i in range (30 )]
801- index = Index ([f"bar_{ i } " for i in range (30 )], dtype = object )
801+ index = Index ([f"bar_{ i } " for i in range (30 )])
802802 return Series (data , index = index , name = "objects" , dtype = object )
803803
804804
@@ -890,8 +890,8 @@ def int_frame() -> DataFrame:
890890 """
891891 return DataFrame (
892892 np .ones ((30 , 4 ), dtype = np .int64 ),
893- index = Index ([f"foo_{ i } " for i in range (30 )], dtype = object ),
894- columns = Index (list ("ABCD" ), dtype = object ),
893+ index = Index ([f"foo_{ i } " for i in range (30 )]),
894+ columns = Index (list ("ABCD" )),
895895 )
896896
897897
0 commit comments