Answers for "read csv without knowing header python"

1

python csv read header only

import csv    

with open(fpath, 'r') as infile:
    reader = csv.DictReader(infile)
    fieldnames = reader.fieldnames
Posted by: Guest on August-19-2021
1

read csv python without id

df.to_csv('file.csv', index=False)
Posted by: Guest on June-26-2020

Code answers related to "read csv without knowing header python"

Python Answers by Framework

Browse Popular Code Answers by Language