From b318f104253b447b0d829f20134e87d07cb11ab1 Mon Sep 17 00:00:00 2001 From: Piyush Goyal Date: Mon, 12 Jun 2017 15:32:31 +0530 Subject: [PATCH] removed parsse_dates TypeError --- .../Time_Series_Analysis/Time_Series_AirPassenger.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Articles/Time_Series_Analysis/Time_Series_AirPassenger.ipynb b/Articles/Time_Series_Analysis/Time_Series_AirPassenger.ipynb index 4a1faf3..cf56b93 100644 --- a/Articles/Time_Series_Analysis/Time_Series_AirPassenger.ipynb +++ b/Articles/Time_Series_Analysis/Time_Series_AirPassenger.ipynb @@ -17,7 +17,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "metadata": { "collapsed": true }, @@ -33,7 +33,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 4, "metadata": { "collapsed": false }, @@ -73,7 +73,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 5, "metadata": { "collapsed": false }, @@ -95,7 +95,7 @@ "source": [ "dateparse = lambda dates: pd.datetime.strptime(dates, '%Y-%m')\n", "# dateparse('1962-01')\n", - "data = pd.read_csv('AirPassengers.csv', parse_dates='Month', index_col='Month',date_parser=dateparse)\n", + "data = pd.read_csv('AirPassengers.csv', parse_dates=['Month'], index_col='Month',date_parser=dateparse)\n", "print data.head()" ] },