Upper-case every name

Data framesEasy7 min

Your task

Given contacts with columns email and name, upper-case the name column. Return email and name, sorted by email ascending and then name ascending.

Examples

shout_names(contacts: dataframe) -> dataframe
Example 1
Inputshout_names(contacts)
contacts
emailname
a@x.comAnn
b@x.comBob
a@x.comAnn
c@x.comCy
b@x.comBobby
Output
emailname
a@x.comANN
a@x.comANN
b@x.comBOB
b@x.comBOBBY
c@x.comCY