I'm new in Coding, so please be patient with me ;) This is my code that didn't work, I'm trying several hours to solve it, but every time I got another error.
import pandas as pd
import numpy as np
import talib.abstract as ta
dfBTCUSD_1h = pd.read_csv('Bitfinex_BTCUSD_1h.csv', skiprows=1)
dfBTCUSD_1h.sort_values(by='Date') # This now sorts in date order
open = dfBTCUSD_1h.iloc[:,2]
high = dfBTCUSD_1h.iloc[:,3]
low = dfBTCUSD_1h.iloc[:,4]
close =dfBTCUSD_1h.iloc[:,5]
short_ema = ta.EMA(close,timeperiod=10)
TypeError: cannot convert the series to <class 'int'>
How can I edit the pandas series to a working file for ta-lib?
best regards