pandas || 2 lines, title() method ||
Same as 3374. First Letter Capitalization | from last week \n\npythondata []\nimport pandas as pd\n\ndef capitalize_content(user_content: pd.DataFrame) -> pd.Da
Same as 3374. First Letter Capitalization | from last week \n\n```pythondata []\nimport pandas as pd\n\ndef capitalize_content(user_content: pd.DataFrame) -> pd.DataFrame:\n\n                    # change to title case with title() method\n    user_content[\'converted_text\'] = (\n            user_content.content_text.apply(lambda x: x.title()))\n\n                    # rename column per problem request\n    return user_content.rename(columns={\'content_text\': \'original_text\'})    \n```
['Pandas']