I have a dataframe:
>>> dt COL000 COL001 QT STK_ID RPT_Date STK000 20120331 2.6151 2.1467 1
The / operator for dv seems equal to div with default axis "columns". Set the axis to "index", then it'll work.
/
df = df.div(df.QT, axis='index')
Another tricky way is to transpose it first, divide it, and then transpose back:
df = (df.T / df.QT).T