Open simon-forb opened 6 months ago
sample does not work on the view object returned by dict.keys() since sample requires a sequence or set object.
sample
dict.keys()
There is probably a better way to do this in the first place, i.e., another function instead of sample.
sample
does not work on the view object returned bydict.keys()
sincesample
requires a sequence or set object.There is probably a better way to do this in the first place, i.e., another function instead of
sample
.