[Python] Seaborn in excel outputs different vs in Jupyter Notebook

Discussão em 'Python' iniciado por Stack, Janeiro 31, 2025.

  1. Stack

    Stack Membro Participativo

    I am using the same formula in Excel and VSCode, however, I am getting different results.

    Workbook Formula

    Cell B1 = PY tips = xl("TestData")

    Cell B2 = PY sns.histplot(tips, stat="density", x="total_bill", bins=15)


    TestData is just referencing a query


    VSCode

    pwd = os.getcwd()

    tips = pd.read_csv(pwd + "/tips.csv")

    tips.drop(columns="Unnamed: 0")

    sns.histplot(tips, stat="density", x="total_bill", bins=15)


    [​IMG]

    Continue reading...

Compartilhe esta Página