It looks like you're new here. If you want to get involved, click one of these buttons!
candles = df.groupby("INSTRUMENT")["LASTPRICE"].resample("1T").ohlc()
how i can get strike price for nifty
INSTRUMENT and LASTPRICE column to be used as below. Then the group by would give you 1 Minute Candle
candles = df.groupby("INSTRUMENT")["LASTPRICE"].resample("1T").ohlc()