pandas.DataFrame.pop

DataFrame.pop(item)

Return item and drop from frame. Raise KeyError if not found.