Screen Link:
https://app.dataquest.io/m/370/working-with-missing-data/5/visualizing-missing-data-with-plots
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?
Screen Link:
https://app.dataquest.io/m/370/working-with-missing-data/5/visualizing-missing-data-with-plots
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.
@Rucha, herewith:
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")