I am trying to currently add a specific row to a DataFrame when the dates match up, here are examples of both df
:
I am attempting to add the "SHILLER" value to the bottom DataFrame when the dates from the DataFrames match up, I have been trying this for awhile, and sadly I have no useful solutions to show. For example, each Date in the bottom DataFrame has a 'Open, High, Low, and Close,' I'd like to add a "SHILLER" value for each date that a shiller value is present, as in the first DataFrame, about once a month. in pseudocode something like: if current date of df == date
of SHILLER value: then add SHILLER to new column in bottom df
Thanks in advance, and let me know if I need to be more clear.