Skip to content
Advertisement

Tag: index-match

Fill Dataframe with values from another Dataframe (not the same column names)

I’m trying to fill a empty dataframe (OutputData) in Python with values from another dataframe (InputData). InputData has four columns (“Strike”, “DTE”, “IV”, “Pred_IV”) OutputData has as an index all unique Strikes from InputData and as Column names all unique DTE from Input Data. My goal is to fill the OutputData with the corresponding “Pred_IV” values from InputData. As it

Advertisement