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