import pandas as pd
a1 = {'Box': ['Box1', 'Box1', 'Box1', 'Box2', 'Box2', 'Box2'], 'Dimension':
    ['Length', 'Width', 'Height', 'Length', 'Width', 'Height'], 'Value': [6,
    4, 2, 5, 3, 4]}
Df = pd.DataFrame(a1, columns=['Box', 'Dimension', 'Value'])
tidy = Df.pivot_table(index=['Box'], columns='Dimension', values='Value')
Data = tidy.insert(3, 'Volume', [48, 60], True)

09f8e36f8b873daeb93ec9146952ac90d78d1a55
<mask token>

<mask token>
a1 = {'Box': ['Box1', 'Box1', 'Box1', 'Box2', 'Box2', 'Box2'], 'Dimension':
    ['Length', 'Width', 'Height', 'Length', 'Width', 'Height'], 'Value': [6,
    4, 2, 5, 3, 4]}
Df = pd.DataFrame(a1, columns=['Box', 'Dimension', 'Value'])
tidy = Df.pivot_table(index=['Box'], columns='Dimension', values='Value')
Data = tidy.insert(3, 'Volume', [48, 60], True)

import pandas as pd
a1 = {'Box': ['Box1', 'Box1', 'Box1', 'Box2', 'Box2', 'Box2'], 'Dimension':
    ['Length', 'Width', 'Height', 'Length', 'Width', 'Height'], 'Value': [6,
    4, 2, 5, 3, 4]}
Df = pd.DataFrame(a1, columns=['Box', 'Dimension', 'Value'])
tidy = Df.pivot_table(index=['Box'], columns='Dimension', values='Value')
Data = tidy.insert(3, 'Volume', [48, 60], True)
