Python Add Array To Dataframe As Type Function In C