Merge series into dataframe


PHOTO EMBED

Wed Dec 23 2020 02:33:02 GMT+0000 (UTC)

Saved by @Ixorya #python

listOfSeries = []

for df in dfs:
	listOfSeries.append(df[df.columns[0]])

# df.iloc[:, 0]
# df[df.columns[0]]

newDF = pd.concat(listOfSeries, axis=1)
content_copyCOPY