Commit 8d2d4f38 by Rebecca Merrett

Fixing indentation

parent 12bc23ff
......@@ -11,8 +11,8 @@ import statistics
# as the row index
hourly_sentiment_series = pd.read_csv('hourly_users_sentiment_subset.csv',
index_col=0,
parse_dates=True,
squeeze=True)
parse_dates=True,
squeeze=True)
print(hourly_sentiment_series.head())
# Check data is indexed as DatetimeIndex
......@@ -107,10 +107,10 @@ indx_row_values = hourly_sentiment_full_actual.index[19:24]
print(indx_row_values)
predicted_series_values = pd.Series(ARMA1predict_5hourly_sentiment,
index=['2019-02-06 19:00:00',
'2019-02-06 20:00:00',
'2019-02-06 21:00:00',
'2019-02-06 22:00:00',
'2019-02-06 23:00:00'])
'2019-02-06 20:00:00',
'2019-02-06 21:00:00',
'2019-02-06 22:00:00',
'2019-02-06 23:00:00'])
print(predicted_series_values)
hourly_sentiment_full_predicted = hourly_sentiment_series.append(predicted_series_values)
print(hourly_sentiment_full_predicted.tail())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment