Can you explain the difference between a list and a data frame in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how a list and a data frame differ in R and how they are related. Tests understanding of the equal-length rule, column types compared with a matrix, how indexing returns different results on each, and when to pick a list or a data frame for real work.