Seaborn load_dataset

前端 未结 3 784
無奈伤痛
無奈伤痛 2020-12-01 02:48

I am trying to get a grouped boxplot working using Seaborn as per the example

I can get the above example working, however the line:

tips = sns.load_         


        
3条回答
  •  难免孤独
    2020-12-01 03:27

    Download all csv files(zipped) to be used for your example from here.

    Extract the zip file to a local directory and launch your jupyter notebook from the same directory. Run the following commands in jupyter notebook:

    import pandas as pd
    tips = pd.read_csv('seaborn-data-master/tips.csv')
    

    you're good to work with your example now!

提交回复
热议问题