concat rows in pandas code example
Example 1: combining 2 dataframes pandas
df_3 = pd.concat([df_1, df_2])
Example 2: concat dataframe from list of dataframe
import pandas as pd
df = pd.concat(list_of_dataframes)
Example 3: merge two df
bigdata = pd.concat([data1, data2], ignore_index=True, sort=False)
Example 4: concact geodataframe python
>>> s1 = pd.Series(['a', 'b'])
>>> s2 = pd.Series(['c', 'd'])
>>> pd.concat([s1, s2])
0 a
1 b
0 c
1 d
dtype: object