parameters: (filename,
                              target_dtype,
                              features_dtype,
                              target_column=-1)
return_statement: return Dataset(data=np.array(data),
                   target=np.array(target).astype(target_dtype))
docstring: Load dataset from CSV file without a header row.
docstring_summary: Load dataset from CSV file without a header row.
docstring_tokens: Load dataset from CSV file without a header row .
function: def load_csv_without_header(filename,
                              target_dtype,
                              features_dtype,
                              target_column=-1):
    """Load dataset from CSV file without a header row."""
    with gfile.Open(filename) as csv_file:
      data_file = csv.reader(csv_file)
      data, target = [], []
      for row in data_file:
        target.append(row.pop(target_column))
        data.append(np.asarray(row, dtype=features_dtype))
  
    target = np.array(target, dtype=target_dtype)
    data = np.array(data)
    return Dataset(data=np.array(data),
                   target=np.array(target).astype(target_dtype))
function_tokens: def load_csv_without_header ( filename , target_dtype , features_dtype , target_column = - 1 ) : with gfile . Open ( filename ) as csv_file : data_file = csv . reader ( csv_file ) data , target = [ ] , [ ] for row in data_file : target . append ( row . pop ( target_column ) ) data . append ( np . asarray ( row , dtype = features_dtype ) ) target = np . array ( target , dtype = target_dtype ) data = np . array ( data ) return Dataset ( data = np . array ( data ) , target = np . array ( target ) . astype ( target_dtype ) )