Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Does Temperature Affect? | Visualizing Data
Analyzing and Visualizing Real-World Data
course content

Kursusindhold

Analyzing and Visualizing Real-World Data

Analyzing and Visualizing Real-World Data

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Analyzing Data
4. Visualizing Data

book
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.

Opgave

Swipe to start coding

  1. 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 to 10;
    • 'Weekly_Sales' must be greater than or equal to 3000000;
    • Save the obtained result within the data variable.
  2. Initialize a scatter plot with 'Temperature' values on the x-axis, and 'Weekly_Sales' on the y-axis, using the data DataFrame.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
toggle bottom row

book
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.

Opgave

Swipe to start coding

  1. 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 to 10;
    • 'Weekly_Sales' must be greater than or equal to 3000000;
    • Save the obtained result within the data variable.
  2. Initialize a scatter plot with 'Temperature' values on the x-axis, and 'Weekly_Sales' on the y-axis, using the data DataFrame.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 4
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt