What does the across() function do in dplyr and why was it introduced?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what the across() function does in R's dplyr package and why it was added to the library. Tests whether a candidate can apply functions to many columns with tidy-select helpers, pass extra arguments correctly and explain how it compares with the older scoped verbs.