python - Seaborn in excel outputs different vs in Jupyter Notebook - Stack Overflow

admin2025-04-17  2

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)

转载请注明原文地址:http://anycun.com/QandA/1744880655a88935.html