weights.egor() extracts the (relative) sampling weights of each ego in the dataset.
weights.egor()
Useful links