Skip to content

Conversation

CaryLorrk
Copy link

@CaryLorrk CaryLorrk commented Aug 16, 2016

The default behavior of pandas.DataFrame's subtraction is to match input Series index on column. What we want is index to index (timestamps to timestamps) subtraction.

@tnlin
Copy link

tnlin commented Sep 4, 2016

cheers from Coursera 😄

@emma11235
Copy link

Awesome! This quick fix worked for me as well! Been frustrated yesterday when got an empty plot. Thank you!!!
Strange it's working for others, including the instructor on video (Coursera)

@SirSkiaLot
Copy link

SirSkiaLot commented Dec 22, 2016

I did all the steps and although the error is gone at run time, the plot is still empty. I even setup the vagrant image on VB and ran the code through that. It compiles and generates plot but plot is still empty. I'm now also getting the following error. Any thoughts?

Error writing cache: /tmp/QSS/qstk-Yahoo(series of numbers).pkl

Note - When I turn b_market_neutral to false, the plot outputs correctly.

romanbsd added a commit to romanbsd/QuantSoftwareToolkit that referenced this pull request Sep 30, 2017
romanbsd added a commit to romanbsd/QuantSoftwareToolkit that referenced this pull request Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants