Comment ajouter la colonne au début 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)