convat python code example
Example 1: concat dataframe from list of dataframe
import pandas as pd
df = pd.concat(list_of_dataframes)
Example 2: python merge strings
my_list = ['a', 'b', 'c', 'd']
my_string = ','.join(my_list)
# Output = 'a,b,c,d'