Contenido del Curso
Analyzing and Visualizing Real-World Data
Analyzing and Visualizing Real-World Data
2. Preprocessing Data: Part II
Does Temperature Affect?
As we saw in the previous chapter, the majority of the points lay uniformly, unlike several points on the top left part (high income, but low temperature). Let's find out what these points are.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
¿Todo estuvo claro?
Does Temperature Affect?
As we saw in the previous chapter, the majority of the points lay uniformly, unlike several points on the top left part (high income, but low temperature). Let's find out what these points are.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
¿Todo estuvo claro?
Does Temperature Affect?
As we saw in the previous chapter, the majority of the points lay uniformly, unlike several points on the top left part (high income, but low temperature). Let's find out what these points are.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.
¿Todo estuvo claro?
As we saw in the previous chapter, the majority of the points lay uniformly, unlike several points on the top left part (high income, but low temperature). Let's find out what these points are.
Tarea
- Filter the data in the
df
DataFrame, so that the following conditions are satisfied:'Store'
must be one of the values in thetop_stores
list;'Temperature'
must be greater than or equal to-10
;'Temperature'
must be less than or equal to10
;'Weekly_Sales'
must be greater than or equal to3000000
;- Save the obtained result within the
data
variable.
- Initialize a scatter plot with
'Temperature'
values on the x-axis, and'Weekly_Sales'
on the y-axis, using thedata
DataFrame.