python || pivot_table || 1 line
\ndef pivotTable(weather: pd.DataFrame) -> pd.DataFrame:\n    return weather.pivot_table(index=\'month\',columns=\'city\',values=\'temperature\',aggfunc=\'max\'
```\ndef pivotTable(weather: pd.DataFrame) -> pd.DataFrame:\n    return weather.pivot_table(index=\'month\',columns=\'city\',values=\'temperature\',aggfunc=\'max\')\n```
[]