Skip to content

Read Csv File To List - Integers are read as Floats #19

Description

@VanDenWoody

When reading a CSV file into RF, the Library implicitly converts INTs to FLOATs.

Example CSV data:

1,"Some","Data"
2,"More","Stuff"

RF:

Example test
    ${csv_data}=    Read Csv File To List    ${CSV File}    quoting=${2}

Result:

[info] ${csv_data} = [[1.0, 'Some', 'Data'], [2.0, 'More', 'Stuff']]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions