resample with replacement pandas example Example: resample ohlc pandas data_ask_bid=pd.concat([data_ask, data_bid], axis=1, keys=['Ask', 'Bid'])