User Tools

Site Tools


order_columns_alphabetically

Differences

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

Link to this comparison view

Next revision
Previous revision
order_columns_alphabetically [2021/04/30 16:55] – created rajuorder_columns_alphabetically [2021/05/01 23:18] (current) – [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 - my 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.1619801759.txt.gz · Last modified: 2021/04/30 16:55 by raju