Commit bb6b5e5
ENH: DataFrame sort columns by rows: sort_values(axis=1)
closes #10806
Author: Jeffrey Gerard <jeffreygerard+github@gmail.com>
Closes #13622 from IamJeffG/GH10806 and squashes the following commits:
ea2d89e [Jeffrey Gerard] More test cases. Clarify whatnew w/ example.
f43ab2e [Jeffrey Gerard] Tweak whatsnew entry, once more
2773cdf [Jeffrey Gerard] Tweak whatsnew entry
0f23615 [Jeffrey Gerard] Whatsnew entry for DataFrame.sort_values by index (10806)
970e25b [Jeffrey Gerard] DataFrame sort columns by rows: sort_values(axis=1)
Joris Van den Bossche: updated axis kwarg in docstring1 parent 4caacdf commit bb6b5e5
File tree
4 files changed
+45
-10
lines changed- doc/source/whatsnew
- pandas
- core
- tests/frame
4 files changed
+45
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
316 | 325 | | |
317 | 326 | | |
318 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
3184 | 3184 | | |
3185 | 3185 | | |
3186 | 3186 | | |
| 3187 | + | |
3187 | 3188 | | |
3188 | | - | |
3189 | | - | |
3190 | 3189 | | |
3191 | 3190 | | |
3192 | 3191 | | |
| |||
3202 | 3201 | | |
3203 | 3202 | | |
3204 | 3203 | | |
3205 | | - | |
| 3204 | + | |
3206 | 3205 | | |
3207 | 3206 | | |
3208 | 3207 | | |
| |||
3214 | 3213 | | |
3215 | 3214 | | |
3216 | 3215 | | |
3217 | | - | |
| 3216 | + | |
3218 | 3217 | | |
3219 | 3218 | | |
3220 | 3219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
1982 | | - | |
| 1982 | + | |
| 1983 | + | |
1983 | 1984 | | |
1984 | 1985 | | |
1985 | 1986 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
| |||
133 | 150 | | |
134 | 151 | | |
135 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
136 | 158 | | |
137 | 159 | | |
138 | 160 | | |
| |||
179 | 201 | | |
180 | 202 | | |
181 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
182 | 208 | | |
183 | 209 | | |
184 | 210 | | |
| |||
0 commit comments