We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566cc7d commit ff4f966Copy full SHA for ff4f966
1-08E-DistplotExercises/Ex7-Distplot.py
@@ -19,7 +19,7 @@
19
20
# HINT:
21
# This grabs the petal_length column for a particular flower
22
-# df[df['class']=='Iris-some-flower-class']['petal_length']
+df[df['class']=='Iris-some-flower-class']['petal_length']
23
24
25
1-09E-HeatmapExercises/Sol8-Heatmap.py
@@ -10,15 +10,15 @@
10
# Perform imports here:
11
import plotly.offline as pyo
12
import plotly.graph_objs as go
13
-
+import pandas as pd
14
# Create a DataFrame from "flights" data
15
df = pd.read_csv('../data/flights.csv')
16
17
# Define a data variable
18
data = [go.Heatmap(
x=df['year'],
y=df['month'],
- z=df['passengers'].values.tolist()
+ z=df['passengers']
)]
# Define the layout
1-09E-HeatmapExercises/solution8.html
0 commit comments