read_csv.py 174 B

1234567
  1. #! /usr/bin/env python3
  2. # Read a CSV file and ignore comments, read everything as a string
  3. import pandas as pd
  4. df = pd.read_csv("foo.csv",comment='#',dtype=str)
  5. print(df)