Write Large Numpy Array To Dataframe In Python Syntax For If Else Statements