(df, columns, n, ascending)
| 1372 | |
| 1373 | |
| 1374 | def _nfirst(df, columns, n, ascending): |
| 1375 | return df.sort_values(by=columns, ascending=ascending).head(n) |
| 1376 | |
| 1377 | |
| 1378 | def _nlast(df, columns, n, ascending): |
nothing calls this directly
no test coverage detected