SNIPPET
1 Upvote

Import CSV That Doesn't Contain Columns Names

Python
Import and Export

By setting header=None the column indexes are used as the column names.

import pandas as pd

df = pd.read_csv('data/raw/raw_data.csv', header=None)

By detro - Last Updated Jan. 15, 2021, 8:59 p.m.

COMMENTS
RELATED SNIPPETS
Search Snippets by Tag: