title: ValueError: test_size=0 should be either positive and smaller than the number of samples 0 or a float in the (0,1) range
body: <pre><code>X= data
  X_data= 'trained.h5'
  #Labels
  Y_data = X_data[:,(X_data.shape[1]-1)]
  #Training Data
  X_data = X_data[:,0:(X_data.shape[1]-1)]
  x_tr,x_ts,y_tr,y_ts = train_test_split(X_data, Y_data, test_size=0.3,random_state=10)
  
  </code></pre>
  
  <p>Error comes 
   '(0,1) range'.format(test_size, n_samples))</p>
  
  <p>ValueError: test_size=0 should be either positive and smaller than the number of samples 0 or a float in the (0,1) range</p>