-
-
Save moutasam/90a211d122b4fef56b4656f76e08762d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reading the csv file and assigning it to a data frame , | |
plus calculationg the time to read the file in seconds | |
import pandas as pd | |
import time | |
start = time.time() | |
df = pd.read_csv('NYPD_Complaint_Data_Historic.csv',low_memory=False) | |
end = time.time() | |
print("Read csv without chunks: ",(end-start),"sec") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment