title: Processing randomly distributed experimental data using ks_2samp in scipy
body: <p>I have two different sets of randomly distributed experimental data. I have to check weather both are from same data set or not. I wish to apply 2 sample KS test using scipy in python.</p>
  
  <p>I don't understand how to pass both sequences of data in function <code>ks_2samp</code>.</p>
  
  <p><code>scipy.stats.ks_2samp(data1, data2)</code></p>
  
  <p>Can anyone explain what is data1 and data2? Can I directly pass my data using sequence?</p>