python easy 
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```pythondata []
import pandas as pd

def capitalize_content(user_content: pd.DataFrame) -> pd.DataFrame:
    def transform(text):
        words = text.split(" ")
        output = []
        for word in words :
            if "-" in word :
                tw = "-".join([w.capitalize() for w in word.split("-")])
            else :
                tw = word.capitalize()
            output.append(tw)
        return " ".join(output)
    
    user_content.rename(columns = {'content_text': 'original_text'}, inplace = True) 
    user_content['converted_text'] = user_content['original_text'].apply(transform)
    return user_content
```
['Pandas']