Skip to content

Fix add_sma and add_ema from removing first 29 elements twice. #5

@calebheinzman

Description

@calebheinzman

They both run:
data = data.iloc[29:, :]

This is redundant and results in first 58 lines being removed.

  • Maybe create variable that will keep track of the minimum number of removed rows and then just removed them all at once.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions