I downloaded the full csv and try to load this into memory, but it takes forever. What is your advise on loading the CSV into memory?
Can you also share the exact code you have written to load the .csv file? That might help us understand what could/is going wrong here. Thanks.
import pandas as pd import numpy as np import os import matplotlib.pyplot as plt import seaborn as sns # Loading csv file into a pandas dataframe def load_csv_df(file): cd = os.getcwd() return pd.read_csv(os.path.join(cd, file)) mvc = load_csv_df("Motor_vehicle_collisions_-_Crashes.csv")