timespan

Merge pandas dataframes where one value is between two others

Merge pandas dataframes where one value is between two others Question: I need to merge two pandas dataframes on an identifier and a condition where a date in one dataframe is between two dates in the other dataframe. Dataframe A has a date (“fdate”) and an ID (“cusip”): I need to merge this with this …

Total answers: 4