Thanks in advance for your help!
Here\'s a simple dataframe of the riddle I\'m trying to solve:
import pandas as pd data = {"Company ID": ["