question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: Woodwork has no attribute 'select'

See original GitHub issue

Hello,

While using evalml with time series regression problem, I get an error in AutoMLSearch. automl = AutoMLSearch(X_train, y_train, problem_type="time series regression", max_batches=1, problem_configuration={"gap": 0, "max_delay": 7, "forecast_horizon": 7, "date_index": None}, allowed_model_families=["xgboost", "random_forest", "linear_model", "extra_trees", "decision_tree"] ) My data was splited with eval.ml.preprocessing.split_data as: X_train, X_test, y_train, y_test = preprocessing.split_data(X, y, problem_type='time series regression',test_size=.3)

I am following exactly the documentation but with new data and I am getting this error.

_AttributeError Traceback (most recent call last)

<ipython-input-11-eb7c27d468d6> in <module>() 6 “forecast_horizon”: 7, “date_index”: None}, 7 allowed_model_families=[“xgboost”, “random_forest”, “linear_model”, “extra_trees”, ----> 8 “decision_tree”] 9 ) 10 automl.search()

2 frames

/usr/local/lib/python3.7/dist-packages/woodwork/column_accessor.py in getattr(self, attr) 224 return self._make_series_call(attr) 225 else: –> 226 raise AttributeError(f"Woodwork has no attribute ‘{attr}’") 227 228 @_check_column_schema

AttributeError: Woodwork has no attribute ‘select’_

Could you please help me???

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
freddyaboultoncommented, Sep 24, 2021

@ahmadalsharef994 Sorry you’re having difficulties! Thanks for filing the issue.

What versions of EvalML and Woodwork do you have? Did you install via conda or pip?

Also, is this the code you ran?

X_train, X_test, y_train, y_test = preprocessing.split_data(X, y, problem_type='time series regression',test_size=.3)
automl = AutoMLSearch(X_train, y_train, problem_type="time series regression", max_batches=1, problem_configuration={"gap": 0, "max_delay": 7, "forecast_horizon": 7, "date_index": None}, allowed_model_families=["xgboost", "random_forest", "linear_model", "extra_trees", "decision_tree"]
automl.search()

If so, where does the error come from? Is it from the definition of automl or when you called automl.search?

0reactions
chukarstencommented, Feb 2, 2022

Closing due to inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

While using AutoML from EvalML getting error AttributeError
While using AutoML from EvalML getting error AttributeError: 'DataTable' object has no attribute 'to_series' · Subscribe to RSS.
Read more >
Source code for woodwork.table_accessor - Alteryx
_make_dataframe_call(attr) else: raise AttributeError(f"Woodwork has no attribute ... If the selection result is a DataFrame or Series, Woodwork typing ...
Read more >
While using AutoML from EvalML getting error AttributeError
Coding example for the question While using AutoML from EvalML getting error AttributeError: 'DataTable' object has no attribute 'to_series'
Read more >
'AutoMLClassifier' object has no attribute '_automl ... - GitHub
I am getting an AttributeError when trying to call predict_proba on a fit classifier. Have you seen this error before?
Read more >
Pyspark Dtypes - Accademia e sartoria le filatrici
... pyspark. pyspark AttributeError: 'DataFrame' object has no attribute 'toDF', Renaming columns in a PySpark DataFrame with a performant select operation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found