extract column names from a file python no pandas code example Example: dataframe no names from file df = pd.read_csv(file_path, header=None)