Problem with import of excel file

LeMarc
LeMarc New Altair Community Member
edited November 2024 in Community Q&A
Hello,

I tried to import data from an excel file. However theres always an error message which says

"Failed to parse the content in column 'sales':
Cause: unpearsable real numbers:"-" "

Within the feature sale there are some values of 0.

Does anyone have a suggestion how to solve?

Thank you!

Tagged:

Answers

  • sara20
    sara20 New Altair Community Member
    @LeMark,
    Hello

    Could you please take an screenshot from "sales"?

  • MartinLiebig
    MartinLiebig
    Altair Employee
    seems like some of your "numbers" are rather something like 1-2?

    I would recommend to use "read all columns as polynominal" option and parse the numbers later.

    Best,
    Martin
  • LeMarc
    LeMarc New Altair Community Member
    Hi, problem is solved. I changed the format of column sales. Thanks!
  • Telcontar120
    Telcontar120 New Altair Community Member
    You may also have missing values or zero value represented by the hyphen "-" in which case you can use declare missing value or replace operator to solve that problem.

  • LeMarc
    LeMarc New Altair Community Member
    @Telcontar120 Thanks for the hint!