Skip to content

Day38 - bad data in csv file #8

Closed
@alt3red

Description

@alt3red

Hello,

On Day 38 when loading the Thanksgiving data from the file, there is a error that occurs:

UnicodeDecodeError:

'utf-8' codec can't decode byte 0xed in position 3599: invalid continuation byte

The file gets processed until the record with 'RespondentID':'4335955206' then it errors out.

Also when opening the csv file in PyCharm I get "File was loaded in the wrong encoding: 'UTF-8'"

screen shot 2018-04-27 at 7 08 20 am

The error goes away when removing the line with RspondentID: '4335955152'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions