这是我的密码:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sb
df = pd.read_csv("insurance.csv")
sb.histplot(df.charges)
运行代码时,出现以下错误:
AttributeError Traceback (most recent call last) in ----> 1 sb.histplot(df.charges)
AttributeError: module 'seaborn' has no attribute 'histplot'
目前没有回答
相关问题 更多 >
编程相关推荐