Preprocess Text Function Python Format Float String