First Names Only
Start Timer
0:00:00
You’re given a dataframe containing a list of user IDs and their full names (e.g. ‘James Emerson’).
Transform this dataframe into a dataframe that contains the user ids and only the first name of each user.
Example:
Input:
user_id | name |
---|---|
1034 | James Emerson |
9430 | Fiona Woodward |
7281 | Alvin Gross |
5264 | Deborah Handler |
8995 | Leah Xue |
Output:
user_id | name |
---|---|
1034 | James |
9430 | Fiona |
7281 | Alvin |
5264 | Deborah |
8995 | Leah |
Recommended questions for you
Personalized based on your user activity, skill level, and preferences.
.
.
.
.
.
.
.
.
.
Comments