Jovian
⭐️
Sign In
In [10]:
a = {"key":1, "key2":2, "key3":3}
In [11]:
a
Out[11]:
{'key': 1, 'key2': 2, 'key3': 3}
In [12]:
import seaborn as sns
In [13]:
import pandas as pd
import numpy as np
In [20]:
data = pd.read_csv("tips.csv")
In [21]:
data.head()
Out[21]:
In [32]:
sns.countplot(x="total_bill", data=data, hue="sex", palette="gist_rainbow_r")
Out[32]:
<matplotlib.axes._subplots.AxesSubplot at 0x21c504f4780>
Notebook Image
In [23]:
sns.jointplot(x="total_bill", y="tip", data=data, kind="hex", color=)
Out[23]:
<seaborn.axisgrid.JointGrid at 0x21c4f95c630>
Notebook Image
In [35]:
sns.pairplot(data=data, palette="")
Out[35]:
<seaborn.axisgrid.PairGrid at 0x21c51f71518>
Notebook Image
In [26]:
sns.rugplot(data["total_bill"])
Out[26]:
<matplotlib.axes._subplots.AxesSubplot at 0x21c50294898>
Notebook Image
In [34]:
sns.boxplot(x="sex",y="total_bill",data=data, palette="winter")
Out[34]:
<matplotlib.axes._subplots.AxesSubplot at 0x21c52043cf8>
Notebook Image
In [29]:
data.describe()
Out[29]:
In [39]:
data["total_bill"].plot.pie(y="sex")
Out[39]:
<matplotlib.axes._subplots.AxesSubplot at 0x21c52bf5fd0>
Notebook Image
In [41]:
data["size"]
Out[41]:
0      2
1      3
2      3
3      2
4      4
5      4
6      2
7      4
8      2
9      2
10     2
11     4
12     2
13     4
14     2
15     2
16     3
17     3
18     3
19     3
20     2
21     2
22     2
23     4
24     2
25     4
26     2
27     2
28     2
29     2
      ..
214    3
215    2
216    5
217    2
218    2
219    4
220    2
221    2
222    1
223    3
224    2
225    2
226    2
227    4
228    2
229    2
230    4
231    3
232    2
233    2
234    2
235    2
236    2
237    2
238    3
239    3
240    2
241    2
242    2
243    2
Name: size, Length: 244, dtype: int64
In [42]:
import jovian
In [ ]:
jovian.commit()
[jovian] Saving notebook..
In [ ]: