+ 1
Why the code not works?
import numpy as np import scipy as sp import pandas as pd import matplotlib.pyplot as plt import seaborn as sb database = sb.load_dataset('tips') print(database) sb.jointplot(x='tip',y='total_bill',data='database') plt.show()
2 ответов
+ 2
sb.jointplot(x='tip', y='total_bill', data=database)
Do not put the database in quotes. In this case, database is a variable that contains your data frame.
Why are you importing so many modules, if you don't use them?
https://code.sololearn.com/cn33rU66Tgmg/?ref=app
+ 1
Thnx bro.
Actually I am in hurry so I post it with other modules which I need to work on.