How to check the randomness or the distribution of an attribute in a dataset? I have a dataset. I want to make its randomness nature match with another dataset (2nd one). Basically I want to modify the 2nd dataset values and make them similiar in distribution or nature in accordance with the 1st dataset.
I'm working on Spyder using Python 3.
I want to do it for some experimental purposes
One option is to check and compare feature statistics across the datasets: mean, variance (or standard deviation), kurtosis, and skewness.

If you prefer a more visual approach (I do!), you can plot density or histograms of each feature, creating overlays for each dataset.

pandas can be useful in calculating the statistics; for visualisation I like using seaborn.