Re: Error: valueError: ordinal must be >= 1

2015-07-27 Thread Emile van Sebille
On 7/27/2015 4:13 PM, ryguy7272 wrote: It seems to work perfectly find when I see the results in the book, but all I'm getting is this . . . *** ValueError: ordinal must be >= 1 (Pdb) Does anyone have any idea what I'm doing wrong? You've been dropped into the python debugger. I'd suspect

Error: valueError: ordinal must be >= 1

2015-07-27 Thread ryguy7272
Hello experts. I'm working in Python > Anaconda > Spyder. I'm reading a book called 'Python for Finance' and I'm trying to run this sample code: import numpy as np import pandas as pd import pandas.io.data as web sp500 = web.DataReader('^GSPC', data_source='yahoo', start='1/1/2000', end='4/