daf-dataportal icon indicating copy to clipboard operation
daf-dataportal copied to clipboard

[Datasets]: Error loading dataset csv sample OpenCup Report Incentivi

Open mariaclaudia opened this issue 6 years ago • 1 comments

Subject of the issue

"Errore durante il caricamento. Si prega di riprovare più tardi." It's not possible to load the csv sample attached

Original dataset: http://opencup.gov.it/documents/21195/100257/Report+Incentivi+CSV/76d83867-b82c-4e48-9041-d952a19b67a9

Your environment

Chrome Version 64.0.3282.186 (Official Build) (64-bit)

Steps to reproduce

  1. download the new dataset from OpenCup
  2. create a csv sample for the metadata process (ex. first 10 lines)
  3. start the metadata process
  4. load the csv sample at the first step: Passo 1: Carica file e descrivi le colonne

Expected behaviour

The sample should be loaded and the fields displayed in order to proceed with the metadata informations.

The sample is parsed correctly in Python with Pandas using the code:

import pandas as pd
data = pd.read_csv("incentivisample.csv", sep="|")

79 columns

Actual behaviour

Error message is displayed: "Errore durante il caricamento. Si prega di riprovare più tardi."

screen shot 2018-03-06 at 12 15 15

mariaclaudia avatar Mar 06 '18 11:03 mariaclaudia

In the header there are some blank spaces, @giux78

panelladavide avatar Mar 08 '18 12:03 panelladavide