user20668754
user20668754

Reputation: 1

Combining series to create a dataframe

I have two series of stock prices (containing date, ticker, open, high, low, close) and I'd like to know how to combine them to create a dataframe just like the way Yahoo!Finance does. Is it possible?

"Join and merge" don't seem to work

Upvotes: 0

Views: 47

Answers (1)

Amir nazary
Amir nazary

Reputation: 705

Use pd.concat([sr1, sr2], axis=1) if neither one of join and merge work.

Upvotes: 3

Related Questions