In signal processing, sampling is the reduction of a continuous signal to a discrete signal.
I hava a dataframe df like the following: Col1 Col2 0 1 T 1 1 B 2 3 S 3 2 A 4 1 C 5 2 A etc... I would like …