Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Modify Data Frames | Section
Practice
Projects
Quizzes & Challenges
Quizze
Challenges
/
Data Cleaning and Transformation with Data Frames in R - 1768563984993

bookChallenge: Modify Data Frames

Aufgabe

Swipe to start coding

You are given a data frame of class records. Modify this data frame as follows:

  • Add a new column named attendance with the values 90, 95, and 88 for the existing students.
  • Remove the age column from the data frame.
  • Add a new row for a student named "Diana" with a grade of 87 and attendance of 98.

Assign the final, modified data frame to the variable updated_students.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 10
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Modify Data Frames

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

You are given a data frame of class records. Modify this data frame as follows:

  • Add a new column named attendance with the values 90, 95, and 88 for the existing students.
  • Remove the age column from the data frame.
  • Add a new row for a student named "Diana" with a grade of 87 and attendance of 98.

Assign the final, modified data frame to the variable updated_students.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 10
single

single

some-alt