Cómo agregar la columna al comienzo de DataFrame
# Third position would be at index 2, because of zero-indexing.
df.insert(2, 'new-col', data)
Odd Okapi
# Third position would be at index 2, because of zero-indexing.
df.insert(2, 'new-col', data)
df.insert(loc, column, value)