pip3 install word2number from word2number import w2n data_frame.column_name = data_frame.column_name.apply(w2n.word_to_num)

Read more of this post