Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Displot | Distributions of Data
Deep Dive into the seaborn Visualization

Pyyhkäise näyttääksesi valikon

book
Displot

Note

displot = FacetGrid(we will study this plot later) + histplot/kdeplot/ecdfplot

The displot provides access to several approaches for visualizing the univariate or bivariate distribution of data, including subsets of data defined by semantic mapping and faceting across multiple subplots.

The kind parameter selects the approach to use: histplot, kdeplot, ecdfplot.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Tehtävä

Swipe to start coding

  1. Set the 'darkgrid' style.
  2. Create the displot using the seaborn library:
  • Set the x parameter equals the 'carat';
  • Set the hue parameter equals the 'cut';
  • Set the col parameter equals the 'color';
  • Set the kind parameter equals the 'kde';
  • Set the multiple parameter equals the 'fill';
  • Set the palette equals the 'viridis';
  • Set the data.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 6

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Displot

Note

displot = FacetGrid(we will study this plot later) + histplot/kdeplot/ecdfplot

The displot provides access to several approaches for visualizing the univariate or bivariate distribution of data, including subsets of data defined by semantic mapping and faceting across multiple subplots.

The kind parameter selects the approach to use: histplot, kdeplot, ecdfplot.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Tehtävä

Swipe to start coding

  1. Set the 'darkgrid' style.
  2. Create the displot using the seaborn library:
  • Set the x parameter equals the 'carat';
  • Set the hue parameter equals the 'cut';
  • Set the col parameter equals the 'color';
  • Set the kind parameter equals the 'kde';
  • Set the multiple parameter equals the 'fill';
  • Set the palette equals the 'viridis';
  • Set the data.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 6
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt