solution 
Pivoting: We use the pivot function to reshape the DataFrame. The index parameter is set to 'month', the columns parameter is set to 'city', and the values para
Pivoting: We use the pivot function to reshape the DataFrame. The index parameter is set to 'month', the columns parameter is set to 'city', and the values parameter is set to 'temperature'. This will create a new DataFrame where each row corresponds to a month, and each column corresponds to a city's temperature.

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

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