How does `split_by_idxs` work?

I wanted to do something custom with my dataset regarding the splitting into training and validation set, and looked into the split_by_idxs functionality. How does this function work? If I have a dataframe which I pass into ImageItemList, do I just give a list of indices of the dataframe that correā€¦