Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

megre pandas in dictionary

df = pd.DataFrame() # Create an empty dataframe, this will be your final dataframe

for key, sub_df in data_animal_id_groups.items():
    df = df.append(sub_df, ignore_index=False) # Add your sub_df one by one

print(df)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #megre #pandas #dictionary
ADD COMMENT
Topic
Name
2+6 =