@@ -77,19 +77,13 @@ class TestSeriesDropDuplicates:
77
77
def dtype (self , request ):
78
78
"""
79
79
Fixture that provides different data types for testing.
80
- The parameterized fixture returns various numpy data types including
81
- integer, unsigned integer, float, string, timedelta, and datetime.
82
80
"""
83
81
return request .param
84
82
85
83
@pytest .fixture
86
84
def cat_series_unused_category (self , dtype , ordered ):
87
85
"""
88
86
Fixture that creates a Categorical Series with some unused categories.
89
- This fixture creates a Categorical Series based on the given dtype and
90
- ordered parameters. The input series contains some categories that are
91
- not used in the actual data, allowing the testing of categorical
92
- behavior with unused categories.
93
87
"""
94
88
# Test case 1
95
89
cat_array = np .array ([1 , 2 , 3 , 4 , 5 ], dtype = np .dtype (dtype ))
@@ -155,10 +149,6 @@ def test_drop_duplicates_categorical_non_bool_keepfalse(
155
149
def cat_series (self , dtype , ordered ):
156
150
"""
157
151
Fixture that creates a Categorical Series with no unused categories.
158
- This fixture creates a Categorical Series based on the given dtype and
159
- ordered parameters. The input series contains categories that are all
160
- used in the actual data, allowing the testing of categorical behavior
161
- without unused categories.
162
152
"""
163
153
cat_array = np .array ([1 , 2 , 3 , 4 , 5 ], dtype = np .dtype (dtype ))
164
154
0 commit comments