Skip to content

Instantly share code, notes, and snippets.

@khuangaf
Created January 1, 2018 06:30
Show Gist options
  • Select an option

  • Save khuangaf/500809e0f1cc09f63e62160d029bd958 to your computer and use it in GitHub Desktop.

Select an option

Save khuangaf/500809e0f1cc09f63e62160d029bd958 to your computer and use it in GitHub Desktop.
ground_true_df = pd.DataFrame()
ground_true_df['times'] = ground_true_times
ground_true_df['value'] = ground_true
prediction_df = pd.DataFrame()
prediction_df['times'] = validation_output_times
prediction_df['value'] = predicted_inverted
prediction_df = prediction_df.loc[(prediction_df["times"].dt.year == 2017 )&(prediction_df["times"].dt.month > 7 ),: ]
ground_true_df = ground_true_df.loc[(ground_true_df["times"].dt.year == 2017 )&(ground_true_df["times"].dt.month > 7 ),:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment