Skip to content

Commit 66067f9

Browse files
committed
Created Matrixplot
1 parent da0b2d7 commit 66067f9

2 files changed

Lines changed: 127 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cells": [],
3+
"metadata": {},
4+
"nbformat": 4,
5+
"nbformat_minor": 2
6+
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 2,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [],
10+
"source": [
11+
"import seaborn as sns\n",
12+
"%matplotlib inline\n",
13+
"tips = sns.load_dataset(\"tips\")\n",
14+
"flights = sns.load_dataset(\"flights\")"
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": 3,
20+
"metadata": {
21+
"collapsed": false
22+
},
23+
"outputs": [
24+
{
25+
"data": {
26+
"text/html": [
27+
"<div>\n",
28+
"<table border=\"1\" class=\"dataframe\">\n",
29+
" <thead>\n",
30+
" <tr style=\"text-align: right;\">\n",
31+
" <th></th>\n",
32+
" <th>year</th>\n",
33+
" <th>month</th>\n",
34+
" <th>passengers</th>\n",
35+
" </tr>\n",
36+
" </thead>\n",
37+
" <tbody>\n",
38+
" <tr>\n",
39+
" <th>0</th>\n",
40+
" <td>1949</td>\n",
41+
" <td>January</td>\n",
42+
" <td>112</td>\n",
43+
" </tr>\n",
44+
" <tr>\n",
45+
" <th>1</th>\n",
46+
" <td>1949</td>\n",
47+
" <td>February</td>\n",
48+
" <td>118</td>\n",
49+
" </tr>\n",
50+
" <tr>\n",
51+
" <th>2</th>\n",
52+
" <td>1949</td>\n",
53+
" <td>March</td>\n",
54+
" <td>132</td>\n",
55+
" </tr>\n",
56+
" <tr>\n",
57+
" <th>3</th>\n",
58+
" <td>1949</td>\n",
59+
" <td>April</td>\n",
60+
" <td>129</td>\n",
61+
" </tr>\n",
62+
" <tr>\n",
63+
" <th>4</th>\n",
64+
" <td>1949</td>\n",
65+
" <td>May</td>\n",
66+
" <td>121</td>\n",
67+
" </tr>\n",
68+
" </tbody>\n",
69+
"</table>\n",
70+
"</div>"
71+
],
72+
"text/plain": [
73+
" year month passengers\n",
74+
"0 1949 January 112\n",
75+
"1 1949 February 118\n",
76+
"2 1949 March 132\n",
77+
"3 1949 April 129\n",
78+
"4 1949 May 121"
79+
]
80+
},
81+
"execution_count": 3,
82+
"metadata": {},
83+
"output_type": "execute_result"
84+
}
85+
],
86+
"source": [
87+
"tips.head()"
88+
]
89+
},
90+
{
91+
"cell_type": "code",
92+
"execution_count": null,
93+
"metadata": {
94+
"collapsed": true
95+
},
96+
"outputs": [],
97+
"source": []
98+
}
99+
],
100+
"metadata": {
101+
"kernelspec": {
102+
"display_name": "Python [conda root]",
103+
"language": "python",
104+
"name": "conda-root-py"
105+
},
106+
"language_info": {
107+
"codemirror_mode": {
108+
"name": "ipython",
109+
"version": 3
110+
},
111+
"file_extension": ".py",
112+
"mimetype": "text/x-python",
113+
"name": "python",
114+
"nbconvert_exporter": "python",
115+
"pygments_lexer": "ipython3",
116+
"version": "3.5.2"
117+
}
118+
},
119+
"nbformat": 4,
120+
"nbformat_minor": 2
121+
}

0 commit comments

Comments
 (0)