I know that pandas is designed to load fully populated DataFrame but what should I do if I need to create an empty DataFrame and then add rows, one by one. Can anyone help me with the best possible way?
I successfully created an empty DataFrame with :
res = DataFrame(columns=('lib', 'qty1', 'qty2'))
Then I can add a new row and fill a field with :
res = res.set_value(len(res), 'qty1', 10.0)
How can I add a new row to my DataFrame with different columns type ?