Examples
import numpy as np
import pandas as pd
df = pd.DataFrame({'angles': [0, 3, 4],
'degrees': [360, 180, 360]},
index=['circle', 'right triangle', 'rhombus'])
df
Multiply a DataFrame of different shape with operator version:
other = pd.DataFrame({'angles': [0, 3, 4]},
index=['circle', 'right triangle', 'rhombus'])
other
df * other
df.mul(other, fill_value=0)