Inserted parameters into pandas.DataFrame with some issues