2 Replies Latest reply on Jun 19, 2018 10:37 PM by Intel Corporation

    Pandas read error

    nisantmanepalli

      Hello,

       

      Pardon me for this trivial question.

      I am trying to read a csv file using pd.read_csv('filename.csv') argument and am getting the following error:

       

      pandas.errors.ParseError: Error tokenizing data. C error: Expected 8 fileds in line 42957, saw 11

       

      Seems like there is more no of row data in the said row(s) as compared to previous rows. However, when am trying to just check/run the code on my personal laptop, its loading properly without any issue(The said error is not being reported).

      Can you help me understand why?

       

      Regards,

        • 1. Re: Pandas read error
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi,

          Thanks for reaching out to us.

          Could you please confirm from where you are trying to load the csv file. Is it through the jupyter hub or your python terminal?

          We tried to load a csv a file from our end in jupyter hub and It was working fine. Please check if the issue is with your csv file.If the issue still persists, kindly share the csv file so that we could work on it. 

          Regards,
          Nikhila
           

          • 2. Re: Pandas read error
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi Nisant,

            Please confirm whether the issue got resolved. If not, kindly provide the asked details so that we can try it from our end.

            Regards,
            Nikhila