Combine Group and Sort
General Info
Useful Snippets

11.0.11 Create and iteratively fill an empty DataFrame

Example:

# Create an empty DataFrame with the names of your columns that you'll use
DF = pd.DataFrame( columns = ['column_name', 'name_x'] )

## your process that generates a DF row as a dictionary goes here...

# Here's an example of a row to add to your DataFrame
row = { 'column_name':  'value' , 'name_x' : 'value' }

# Append the row to the DF
DF = DF.append(row, ignore_index=True)