jmbejara / comp-econ-sp18

Main Course Repository for Computational Methods in Economics (Econ 21410, Spring 2018)
16 stars 23 forks source link

Using the apply function on a single column #26

Closed bariscangoc closed 6 years ago

bariscangoc commented 6 years ago

Hi,

Is it possible to use apply function on only one column? I tried to use chipo.item_price.apply(), but that only gives me the column and does not change the actual dataframe.

Thanks!