Import CSV That Doesn't Contain Columns Names

Python

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

 1|  import pandas as pd
 2|  
 3|  df = pd.read_csv('data/raw/raw_data.csv', header=None)
Did you find this snippet useful?

Sign up for free to to add this to your code library