Skip to content

Self.I problem? #545

Answered by kernc
hz7451 asked this question in Q&A
Discussion options

You must be logged in to vote

maybe due to the first RSI data "nan" ?

Exactly. Just fill the nan with some value, e.g.:

def RSI(*args):
    rsi = _RSI(*args)
    return pd.Series(rsi).fillna(method='backfill')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hz7451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants