original_docstring: 
      X - 2d numpy array with rows representing compounds and columns represnting features
      compounds - pandas DataFrame with compound information
      features - pandas DataFrame with features information
      
docstring: 2d numpy array with rows representing compounds and columns represnting features
  compounds - pandas DataFrame with compound information
  features - pandas DataFrame with features information
docstring_tokens: 2d numpy array with rows representing compounds and columns represnting features compounds - pandas DataFrame with compound information features - pandas DataFrame with features information
code: def read_triformat(directory, x_filename):
      """
      X - 2d numpy array with rows representing compounds and columns represnting features
      compounds - pandas DataFrame with compound information
      features - pandas DataFrame with features information
      """
      features_path = os.path.join(directory, 'features.txt')
      features = pandas.io.parsers.read_table(features_path)
  
      compounds_path = os.path.join(directory, 'compounds.txt')
      compounds = pandas.io.parsers.read_table(compounds_path)
  
      x_path = os.path.join(directory, x_filename)
      X = numpy.loadtxt(x_path, delimiter='\t')
  
      triformat = {'X': X, 'compounds': compounds, 'features': features}
      return triformat
code_tokens: def read_triformat ( directory , x_filename ) : features_path = os . path . join ( directory , 'features.txt' ) features = pandas . io . parsers . read_table ( features_path ) compounds_path = os . path . join ( directory , 'compounds.txt' ) compounds = pandas . io . parsers . read_table ( compounds_path ) x_path = os . path . join ( directory , x_filename ) X = numpy . loadtxt ( x_path , delimiter = '\t' ) triformat = { 'X' : X , 'compounds' : compounds , 'features' : features } return triformat
short_docstring: X - 2d numpy array with rows representing compounds and columns represnting features
  compounds - pandas DataFrame with compound information
  features - pandas DataFrame with features information
short_docstring_tokens: X - 2d numpy array with rows representing compounds and columns represnting features compounds - pandas DataFrame with compound information features - pandas DataFrame with features information
comment: """
      X - 2d numpy array with rows representing compounds and columns represnting features
      compounds - pandas DataFrame with compound information
      features - pandas DataFrame with features information
      """