pandas set data type when there is no header code example Example: pandas read csv df = pd.read_csv('data.csv')