Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Hierarchical Indexing | Core R Data Structures for EDA
Essential R Data Structures for Exploratory Data Analysis
Section 1. Chapitre 18
single

single

bookChallenge: Hierarchical Indexing

Glissez pour afficher le menu

Tâche

Glissez pour commencer à coder

Create a data frame with a multi-level index and perform a group operation.

  • Create a data frame containing at least two columns that can serve as hierarchical index levels and one numeric column.
  • Aggregate the numeric column by both index levels using a group operation.
  • Return the resulting grouped data frame.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 18
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt