Saturday 15 February 2014

Referencing Column Titles That Contain Spaces in Python 3 (Pandas) -



Referencing Column Titles That Contain Spaces in Python 3 (Pandas) -

simple question here: trying reference 2 columns , split them, column titles contain spaces.

title 1: first word sum title 2: first word clicks

when seek this, doesn't work:

cvr = (final.first word sum / final.first word clicks)

how rectify this? give thanks you

you cannot way trying to. next work:

cvr = final['first word sum'] / final['first word clicks']

python-3.x pandas

No comments:

Post a Comment