Python Basics Tutorial How Handle Pandas Dataframe Multi Column Index For Stock Data

Python Basics Tutorial How Handle Pandas Dataframe Multi Column Index For Stock Data

Python Basics

4 года назад

1,210 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@claudiolb8552
@claudiolb8552 - 20.06.2021 00:00

Keep it up

Ответить
@dougveilleux7478
@dougveilleux7478 - 28.02.2021 05:56

Hi, I have the same question as Roberto. I have tried 
data_d = {}
for i in symbols:
data_test[i] = stocks[['Open','High','Low','Close','Volume','Adj Close']][I]
without success. My motivation is to generate a candlestick plot for each tick symbol.
Thanks for the great tutorials.

Ответить
@robertogustuti9534
@robertogustuti9534 - 21.02.2021 02:21

First, thank you for all your videos related to stock market; Second, Is possible when you work with Python's Dictionary (data_d = {}) to extract not only a SINGLE column (in your example you've used "Close") but with all the columns 'OHLCV' at the same time? thanks

Ответить