File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5555,8 +5555,8 @@ def sort_values( # type: ignore[override]
5555
5555
5556
5556
if ignore_index :
5557
5557
new_data .set_axis (
5558
- self ._get_block_manager_axis (axis ),
5559
- ibase . default_index ( len ( indexer )) )
5558
+ self ._get_block_manager_axis (axis ), ibase . default_index ( len ( indexer ))
5559
+ )
5560
5560
5561
5561
result = self ._constructor (new_data )
5562
5562
if inplace :
Original file line number Diff line number Diff line change @@ -588,8 +588,9 @@ def test_sort_values_reshaping(self):
588
588
589
589
random_state = np .random .RandomState (seed = 42 )
590
590
test_dict = {
591
- int ((i - n_cols / 2 ) % n_cols + 1 ):
592
- random_state .randint (rand_low , rand_high , size = (n_rows ))
591
+ int ((i - n_cols / 2 ) % n_cols + 1 ): random_state .randint (
592
+ rand_low , rand_high , size = (n_rows )
593
+ )
593
594
for i in range (n_cols )
594
595
}
595
596
df = DataFrame (test_dict )
You can’t perform that action at this time.
0 commit comments