File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def __repr__(self) -> str:
212
212
"""
213
213
214
214
attrs = (
215
- "{k}={getattr(self, k)}"
215
+ f "{ k } ={ getattr (self , k )} "
216
216
for k in self ._attributes
217
217
if getattr (self , k , None ) is not None
218
218
)
@@ -250,8 +250,7 @@ def _prep_values(self, values: Optional[np.ndarray] = None) -> np.ndarray:
250
250
elif needs_i8_conversion (values .dtype ):
251
251
raise NotImplementedError (
252
252
f"ops for { self ._window_type } for this "
253
- f"dtype { values .dtype } are not "
254
- "implemented"
253
+ f"dtype { values .dtype } are not implemented"
255
254
)
256
255
else :
257
256
try :
@@ -382,7 +381,7 @@ def _get_roll_func(self, func_name: str) -> Callable:
382
381
window_func = getattr (window_aggregations , func_name , None )
383
382
if window_func is None :
384
383
raise ValueError (
385
- "we do not support this function " f" in window_aggregations.{ func_name } "
384
+ f "we do not support this function in window_aggregations.{ func_name } "
386
385
)
387
386
return window_func
388
387
You can’t perform that action at this time.
0 commit comments