I am looking for an efficient way to combine 100 pandas data frames, which represent a grid of information points. Each of these data frames' points is unique, and does not overlap points represented by another, but they do share columns and rows over a larger patchwork space. i.e.
1 2 3 4 5 6 7 8 9
A df1, df1, df1, df2, df2, df2, df3, df3, df3
B df1, df1, df1, df2, df2, df2, df3, df3, df3
C df1, df1, df1, df2, df2, df2, df3, df3, df3
D df4, df4, df4, df5, df5, df5, etc, etc, etc
E df4, df4, df4, df5, df5, df5, etc, etc, etc
F df4, df4, df4, df5, df5, df5, etc, etc, etc
Pandas' concatenate only combines over either the columns or the row axis, but not both. So I've been trying to increment over the data frames and using the df1.combine_first(df2) method (repeat ad infinitum).
Is this the best way to proceed, or is there another more efficient method that I should be aware of?