import pandas as pd
df.join(df.column3.apply(pd.Series)).drop('column3', 1).set_index([
    'column1', 'column2']).stack().reset_index().drop('level_2', 1).rename(
    columns={(0): 'column3'})
Flattening an array in pandas