I\'m trying to subset a df using a last specific value. Using below, I want to subset every row before the time X appears in Item.
X
Item
impor