Easy Pandas Pivot beats 94.81%
ApproachUse the pivot built-in function from the pandas library to achieve the desired dataframeCode

# Approach
<!-- Describe your approach to solving the problem. -->
Use the pivot built-in function from the pandas library to achieve the desired dataframe


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

def pivotTable(weather: pd.DataFrame) -> pd.DataFrame:
    return weather.pivot(index = 'month',columns = 'city',values = 'temperature')
```
['Pandas']