Commit c9f653cf authored by peastman's avatar peastman
Browse files

Fixed usage of a pandas method that no longer exists

parent cfbeeb2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ def get_user_specified_features(df, featurizer, verbose=True):
  time1 = time.time()
  df[featurizer.feature_fields] = df[featurizer.feature_fields].apply(
      pd.to_numeric)
  X_shard = df.as_matrix(columns=featurizer.feature_fields)
  X_shard = df[featurizer.feature_fields].to_numpy()
  time2 = time.time()
  log("TIMING: user specified processing took %0.3f s" % (time2 - time1),
      verbose)