@@ -672,47 +672,47 @@ def _create_mi_with_dt64tz_level():
672672
673673
674674indices_dict = {
675- "string" : Index ([f"pandas_{ i } " for i in range (100 )]),
676- "datetime" : date_range ("2020-01-01" , periods = 100 ),
677- "datetime-tz" : date_range ("2020-01-01" , periods = 100 , tz = "US/Pacific" ),
678- "period" : period_range ("2020-01-01" , periods = 100 , freq = "D" ),
679- "timedelta" : timedelta_range (start = "1 day" , periods = 100 , freq = "D" ),
680- "range" : RangeIndex (100 ),
681- "int8" : Index (np .arange (100 ), dtype = "int8" ),
682- "int16" : Index (np .arange (100 ), dtype = "int16" ),
683- "int32" : Index (np .arange (100 ), dtype = "int32" ),
684- "int64" : Index (np .arange (100 ), dtype = "int64" ),
685- "uint8" : Index (np .arange (100 ), dtype = "uint8" ),
686- "uint16" : Index (np .arange (100 ), dtype = "uint16" ),
687- "uint32" : Index (np .arange (100 ), dtype = "uint32" ),
688- "uint64" : Index (np .arange (100 ), dtype = "uint64" ),
689- "float32" : Index (np .arange (100 ), dtype = "float32" ),
690- "float64" : Index (np .arange (100 ), dtype = "float64" ),
675+ "string" : Index ([f"pandas_{ i } " for i in range (10 )]),
676+ "datetime" : date_range ("2020-01-01" , periods = 10 ),
677+ "datetime-tz" : date_range ("2020-01-01" , periods = 10 , tz = "US/Pacific" ),
678+ "period" : period_range ("2020-01-01" , periods = 10 , freq = "D" ),
679+ "timedelta" : timedelta_range (start = "1 day" , periods = 10 , freq = "D" ),
680+ "range" : RangeIndex (10 ),
681+ "int8" : Index (np .arange (10 ), dtype = "int8" ),
682+ "int16" : Index (np .arange (10 ), dtype = "int16" ),
683+ "int32" : Index (np .arange (10 ), dtype = "int32" ),
684+ "int64" : Index (np .arange (10 ), dtype = "int64" ),
685+ "uint8" : Index (np .arange (10 ), dtype = "uint8" ),
686+ "uint16" : Index (np .arange (10 ), dtype = "uint16" ),
687+ "uint32" : Index (np .arange (10 ), dtype = "uint32" ),
688+ "uint64" : Index (np .arange (10 ), dtype = "uint64" ),
689+ "float32" : Index (np .arange (10 ), dtype = "float32" ),
690+ "float64" : Index (np .arange (10 ), dtype = "float64" ),
691691 "bool-object" : Index ([True , False ] * 5 , dtype = object ),
692692 "bool-dtype" : Index ([True , False ] * 5 , dtype = bool ),
693693 "complex64" : Index (
694- np .arange (100 , dtype = "complex64" ) + 1.0j * np .arange (100 , dtype = "complex64" )
694+ np .arange (10 , dtype = "complex64" ) + 1.0j * np .arange (10 , dtype = "complex64" )
695695 ),
696696 "complex128" : Index (
697- np .arange (100 , dtype = "complex128" ) + 1.0j * np .arange (100 , dtype = "complex128" )
697+ np .arange (10 , dtype = "complex128" ) + 1.0j * np .arange (10 , dtype = "complex128" )
698698 ),
699- "categorical" : CategoricalIndex (list ("abcd" ) * 25 ),
700- "interval" : IntervalIndex .from_breaks (np .linspace (0 , 100 , num = 101 )),
699+ "categorical" : CategoricalIndex (list ("abcd" ) * 2 ),
700+ "interval" : IntervalIndex .from_breaks (np .linspace (0 , 100 , num = 11 )),
701701 "empty" : Index ([]),
702702 "tuples" : MultiIndex .from_tuples (zip (["foo" , "bar" , "baz" ], [1 , 2 , 3 ])),
703703 "mi-with-dt64tz-level" : _create_mi_with_dt64tz_level (),
704704 "multi" : _create_multiindex (),
705705 "repeats" : Index ([0 , 0 , 1 , 1 , 2 , 2 ]),
706- "nullable_int" : Index (np .arange (100 ), dtype = "Int64" ),
707- "nullable_uint" : Index (np .arange (100 ), dtype = "UInt16" ),
708- "nullable_float" : Index (np .arange (100 ), dtype = "Float32" ),
709- "nullable_bool" : Index (np .arange (100 ).astype (bool ), dtype = "boolean" ),
706+ "nullable_int" : Index (np .arange (10 ), dtype = "Int64" ),
707+ "nullable_uint" : Index (np .arange (10 ), dtype = "UInt16" ),
708+ "nullable_float" : Index (np .arange (10 ), dtype = "Float32" ),
709+ "nullable_bool" : Index (np .arange (10 ).astype (bool ), dtype = "boolean" ),
710710 "string-python" : Index (
711- pd .array ([f"pandas_{ i } " for i in range (100 )], dtype = "string[python]" )
711+ pd .array ([f"pandas_{ i } " for i in range (10 )], dtype = "string[python]" )
712712 ),
713713}
714714if has_pyarrow :
715- idx = Index (pd .array ([f"pandas_{ i } " for i in range (100 )], dtype = "string[pyarrow]" ))
715+ idx = Index (pd .array ([f"pandas_{ i } " for i in range (10 )], dtype = "string[pyarrow]" ))
716716 indices_dict ["string-pyarrow" ] = idx
717717
718718
0 commit comments