daf-dataportal
daf-dataportal copied to clipboard
[Datasets]: Error loading dataset csv sample OpenCup Report Incentivi
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
- download the new dataset from OpenCup
- create a csv sample for the metadata process (ex. first 10 lines)
- start the metadata process
- 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."

In the header there are some blank spaces, @giux78