Dump all rows
This commit is contained in:
parent
61d67961ee
commit
e551aa88a8
|
@ -26,6 +26,7 @@ import argparse
|
|||
import csv
|
||||
import pandas as pd
|
||||
|
||||
|
||||
def parse_args():
|
||||
parser = argparse.ArgumentParser(description="Parse Hubspot Contacts CSV Export")
|
||||
|
||||
|
@ -56,8 +57,9 @@ def parse_args():
|
|||
|
||||
|
||||
def csv_dump(CSV):
|
||||
df = pd.read_csv(CSV, low_memory=False)
|
||||
print(df)
|
||||
df = pd.read_csv(CSV, low_memory=False, chunksize=1000)
|
||||
for chunk in df:
|
||||
print(chunk.to_string())
|
||||
|
||||
|
||||
def csv_fields(CSV):
|
||||
|
|
Loading…
Reference in a new issue