text: '''
  
  Todos lso métodos que se reutilzian, el esalmaiento. 
  
  '''
  import pandas as pd
  import joblib
  
  
  #dataset =  pd.read_csv('/input/felicidad.csv')
  
  class Utils:
  
      '''
      Métodos reutilizables
      '''
  
      def load_from_csv(self, path):
          return pd.read_csv(path)
  
  
      def feature_target(self, dataset, drop_cols, y_target):
          X = dataset.drop(drop_cols, axis=1)
          y_target = dataset[y_target]
          return X,y_target
  
  
      def model_export(self, clf, score):
          '''
  
          '''
          print(score)
          joblib.dump(clf,'./models/best_model.pkl')
  