@@ -197,9 +197,9 @@ def __init__(
197197 if is_empty_data (data ) and dtype is None :
198198 # gh-17261
199199 warnings .warn (
200- "The default dtype for empty Series will be 'object' instead"
201- " of 'float64' in a future version. Specify a dtype explicitly"
202- " to silence this warning." ,
200+ "The default dtype for empty Series will be 'object' instead "
201+ "of 'float64' in a future version. Specify a dtype explicitly "
202+ "to silence this warning." ,
203203 DeprecationWarning ,
204204 stacklevel = 2 ,
205205 )
@@ -257,14 +257,13 @@ def __init__(
257257 raise AssertionError (
258258 "Cannot pass both SingleBlockManager "
259259 "`data` argument and a different "
260- "`index` argument. `copy` must "
261- "be False."
260+ "`index` argument. `copy` must be False."
262261 )
263262
264263 elif is_extension_array_dtype (data ):
265264 pass
266265 elif isinstance (data , (set , frozenset )):
267- raise TypeError (f"{ repr ( type (data ).__name__ ) } type is unordered" )
266+ raise TypeError (f"' { type (data ).__name__ } ' type is unordered" )
268267 elif isinstance (data , ABCSparseArray ):
269268 # handle sparse passed here (and force conversion)
270269 data = data .to_dense ()
@@ -3721,7 +3720,6 @@ def _reduce(
37213720 If we have an ndarray as a value, then simply perform the operation,
37223721 otherwise delegate to the object.
37233722 """
3724-
37253723 delegate = self ._values
37263724
37273725 if axis is not None :
0 commit comments