最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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)

发布评论

评论列表(0)

  1. 暂无评论