Related to: text
I have a list (dataframe) with 3 Columns. Col.A is a Date Range.
dfa = pd.DataFrame({'date':pd.date_range("2016-01-01", periods=55, freq="M"),
'1G':np.nan,
'10G':np.nan})
print (dfa.head())
date 1G 10G
0 2016-01-31 NaN NaN
1 2016-02-29 NaN NaN
2 2016-03-31 NaN NaN
3 2016-04-30 NaN NaN
4 2016-05-31 NaN NaN
a) I want to take a date (und use it to filter another list, in order to obtain values for 1G and 10G) b) I want to enter those Values for 1G and 10G in the fields of the date toked before.