import pandas as pd df = pd.DataFrame({ "HR": [50, 63, 40, 68, 35], "Engineering": [77, 85, 62, 89, 58], "Marketing": [50, 35, 79, 43, 67], "Sales": [59, 62, 33, 77, 72], "Customer Service": [31, 34, 61, 70, 39], "Distribution": [35, 21, 66, 90, 31], "Logistics": [50, 54, 13, 71, 32], "Production": [22, 51, 54, 28, 40], "Maintenance": [50, 32, 61, 69, 50], "Quality Control": [20, 21, 88, 89, 39] }, index=["New York", "San Francisco", "Los Angeles", "Chicago", "Miami"]) df