Commit bcab8edf by Rebecca Merrett

Fixing indentation

parent 7bbd7cf6
...@@ -10,9 +10,9 @@ import statistics ...@@ -10,9 +10,9 @@ import statistics
# (single variable) series, with datetime (column 0) # (single variable) series, with datetime (column 0)
# as the row index # as the row index
hourly_sentiment_series = pd.read_csv('hourly_users_sentiment_subset.csv', hourly_sentiment_series = pd.read_csv('hourly_users_sentiment_subset.csv',
index_col=0, index_col=0,
parse_dates=True, parse_dates=True,
squeeze=True) squeeze=True)
print(hourly_sentiment_series.head()) print(hourly_sentiment_series.head())
# Check data is indexed as DatetimeIndex # Check data is indexed as DatetimeIndex
...@@ -98,10 +98,10 @@ print('De-differenced values ', undiff2.head()) ...@@ -98,10 +98,10 @@ print('De-differenced values ', undiff2.head())
# First let's get 2 versions of the time series: # First let's get 2 versions of the time series:
# All values with the last 5 being actual values # All values with the last 5 being actual values
# All values with last 5 being predicted values # All values with last 5 being predicted values
hourly_sentiment_full_actual = pd.read_csv('hourly_users_sentiment_sample.csv', hourly_sentiment_full_actual = pd.read_csv('hourly_users_sentiment_sample.csv',
index_col=0, index_col=0,
parse_dates=True, parse_dates=True,
squeeze=True) squeeze=True)
print(hourly_sentiment_full_actual.tail()) print(hourly_sentiment_full_actual.tail())
indx_row_values = hourly_sentiment_full_actual.index[19:24] indx_row_values = hourly_sentiment_full_actual.index[19:24]
print(indx_row_values) print(indx_row_values)
......
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