udacity / aitnd-issues

Repo for AITND issues/bug reports from students.
64 stars 0 forks source link

Lesson 8: Momentum Trading: 11.Quiz: test returns for statistical significance #117

Open mpizosdim opened 4 years ago

mpizosdim commented 4 years ago

The following function is Deprecated in pandas 0.21.0:

net_returns = pd.Series.from_csv(filename, header=0)

It should be replaced with:

net_returns = pd.read_csv(filename, squeeze=True, index_col=0)