Skip to content

Buy on thursday, sell on friday #437

Answered by BenLePen
BenLePen asked this question in Q&A

You must be logged in to vote

OK, solved it. I had to create a new column first:

zeitreihe_input["day_of_week"] = zeitreihe_input.index.dayofweek

...

:-)

Replies: 1 comment

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