title: What is the best way to oversample a dataframe preserving its statistical properties in Python 3?
body: <p>I have the following toy df:</p>
  
  <pre><code>FilterSystemO2Concentration (Percentage)    ProcessChamberHumidityAbsolute (g/m3)   ProcessChamberPressure (mbar)   
  0                     0.156            1                                 29.5                                28.4                                                            29.6                                28.4   
  2                     0.149          1.3                               29.567                                28.9   
  3                     0.149            1                               29.567                                28.9   
  4                     0.148          1.6                                 29.6                                29.4   
  </code></pre>
  
  <p>This is just a sample. The original have over 1200 rows. What's the best way to oversample it preserving its statistical propierties?</p>
  
  <p>I have googled it for some time and i hve only come across resampling algorithms for imbalalnced classes. but that's not what i want, i'm not interested in balancing thr data anyhow, i just would like to produce more samples in a way that more or less preserves the original data distributions and statistical properties.</p>
  
  <p>Thanks in advance</p>