Pandas Dataframe Add Column With Function In Sql