Histogram eroor in bins data load eroor

i am trying to load a daatset but shown eroor 404
i imorted all lib even failed

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline

hospital_df=sns.load_dataset(" hospital")

i put csv file in same folder even i got HTTP eroor 404 not found

load_dataset is used to load data from URL (online).

Edit: I’ve just noticed that this uses some official repository. Are you sure the example name you’ve provided is correct?

1 Like

The sns.load_dataset() only works for specific seaborn online datasets NOT for your local csv

1 Like