Initials
people has a column full_name with two or more words separated by single spaces, like "ada king lovelace". Return a list with the initials of each name in upper case, in row order ("AKL" for that example).
Example 1
people {"full_name":["ada lovelace","Alan Mathison Turing"]}
returns ["AL","AMT"]
AL and AMT.
Constraints
- The tables are small
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More pandas problems
- Invalid TweetsEasy
- Latest Row per PlayerEasy
- Longest TitleEasy
- Make SlugsEasy
- Median per GroupEasy
- Moving Sum of ThreeEasy
- Names Starting WithEasy
- Normalize ScoresEasy