Reshape Data: Pivot
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:461 ms\n\n- Space complexity:70.17 MB\n\n# Code\n```pythondata []\nimport pandas as pd\ndef pivotTable(weather: pd.DataFrame) -> pd.DataFrame:\n    df=weather.pivot(index="month",columns="city",values="temperature")\n    return df\n```
['Pandas']