User Tools

Site Tools


order_columns_alphabetically

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
order_columns_alphabetically [2021/04/30 16:56] – [order columns alphabetically] rajuorder_columns_alphabetically [2021/05/01 23:18] – [See also] admin
Line 1: Line 1:
 ===== Order columns alphabetically ==== ===== Order columns alphabetically ====
 scope | tabular data\\ scope | tabular data\\
-tags | csv+tags | csv, reorder
 ==== Task ==== ==== Task ====
 Convert Convert
Line 47: Line 47:
 1  England  Joane    2323 1  England  Joane    2323
 </code> </code>
 +
 +==== See also ====
 +  * https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/order_columns.py - script to do this on the command line
 +  * https://stackoverflow.com/questions/11067027/re-ordering-columns-in-pandas-dataframe-based-on-column-name - gives other solutions that might be more efficient.
 +
order_columns_alphabetically.txt · Last modified: 2021/05/01 23:18 by admin