Andrews Curves

Report
Question
views

Please explain why do you think this question should be reported?

Report Cancel

I have an error message when i tried to run the scripst andrews curves. The column vegetable is not recognized. I got he following error message: PythonWorker |  ERROR: ‘Vegetable’

I would apprfeciate your helping me with that.

Thanks

About the Author

Thread Reply

  1. External Admin

    Please briefly explain why you feel this answer should be reported .

    Report Cancel

    Make sure the ‘Vegetable’ column is defined as a category variable. To do this, right-click on the column number and select ‘Change Data Type->Category’.

  2. 27/08/2020 at 1:38 pm

    Please briefly explain why you feel this answer should be reported .

    Report Cancel

    I have done this previously but it didn´t work

     

  3. External Admin

    Please briefly explain why you feel this answer should be reported .

    Report Cancel

    Did you try using the example dataset ‘OILS_headers’ given with the script? We are unable to reproduce the error using this dataset.

    If you are trying with your own data you can share it and we can have a look.

  4. External Admin

    Please briefly explain why you feel this answer should be reported .

    Report Cancel

    Remember to include the category variable and the spectral variables when selecting the input for the script. The category variable must be named ‘Vegetable’ in the column header.

Leave an answer