original_docstring:  Create tf.dataset from csv file.
      
      Args:
          path (str): Path to the csv file.
          column_names (list:str): List of string to specify which columns to use in dataset (including label).
          label_name (str): Column name for the label.
          defaults (list:str): List of string to set default values for columns.
          batch_size (str): Batchsize of the dataset.
          shuffle (bool): True for shuffling dataset and False otherwise.
  
      Returns:
          (tf.dataset): dataset used for training or testing
      
docstring: Create tf.dataset from csv file.
docstring_tokens: Create tf . dataset from csv file .
code: def create_dataset(path, column_name, label_name, defaults, batch_size, shuffle):
      """ Create tf.dataset from csv file.
      
      Args:
          path (str): Path to the csv file.
          column_names (list:str): List of string to specify which columns to use in dataset (including label).
          label_name (str): Column name for the label.
          defaults (list:str): List of string to set default values for columns.
          batch_size (str): Batchsize of the dataset.
          shuffle (bool): True for shuffling dataset and False otherwise.
  
      Returns:
          (tf.dataset): dataset used for training or testing
      """
      dataset = tf.data.experimental.make_csv_dataset(
          file_pattern = path,
          select_columns=column_name,
          label_name=label_name,
          column_defaults = defaults,
          batch_size=batch_size,
          num_epochs=1,
          shuffle=shuffle
      )
      return dataset
code_tokens: def create_dataset ( path , column_name , label_name , defaults , batch_size , shuffle ) : dataset = tf . data . experimental . make_csv_dataset ( file_pattern = path , select_columns = column_name , label_name = label_name , column_defaults = defaults , batch_size = batch_size , num_epochs = 1 , shuffle = shuffle ) return dataset
short_docstring: Create tf.dataset from csv file.
short_docstring_tokens: Create tf . dataset from csv file .
comment: """ Create tf.dataset from csv file.
      
      Args:
          path (str): Path to the csv file.
          column_names (list:str): List of string to specify which columns to use in dataset (including label).
          label_name (str): Column name for the label.
          defaults (list:str): List of string to set default values for columns.
          batch_size (str): Batchsize of the dataset.
          shuffle (bool): True for shuffling dataset and False otherwise.
  
      Returns:
          (tf.dataset): dataset used for training or testing
      """