Trying to change all the functions to work with Pandas library