You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pandas-naive.py 291B

12345678910111213
  1. import sys
  2. import pandas as pd
  3. def main(csv_path):
  4. df = pd.read_csv(csv_path)
  5. print(df.info())
  6. if __name__ == '__main__':
  7. if len(sys.argv) < 2:
  8. print("\n\nUSAGE:\n python pandas-naive.py <CSV_PATH>\n", file=sys.stderr)
  9. sys.exit(1)
  10. main(sys.argv[1])