Skip to content

Instantly share code, notes, and snippets.

@deanjamesss
Last active February 2, 2021 08:34
Show Gist options
  • Select an option

  • Save deanjamesss/0c6f9f8b63f5bd21775cadb7099e1123 to your computer and use it in GitHub Desktop.

Select an option

Save deanjamesss/0c6f9f8b63f5bd21775cadb7099e1123 to your computer and use it in GitHub Desktop.
import pandas as pd
# Prefix all the default column labels with column_.
df = pd.read_csv('read_csv_prefix.csv', header=None, prefix='column_')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment