[Tex/LaTex] Custom separator for CSV import via csvsimple

csvcsvsimpleimportpgfkeys

I have successfully used csvsimple to import .csv files. But I would like to have commas as number separators, so I modified the .csv file to use semicolons as separators and as csvsimple manual says, I defined it with separator=semicolon like this

\begin{tabular}{c|c c|c}%
  & \bfseries A & \bfseries B & \\\hline
  \csvreader[head to column names, late after line=\\, separator=semicolon]%
  {csv/test.csv}{}%
  {\bfseries\cat & \A & \B & \acc\%}%
\end{tabular}

but I keep getting error
! Package pgfkeys Error: I do not know the key '/csv/separator' and I am going to ignore it.

Best Answer

I used /csv/separator=semicolon instead of separator=semicolon and it worked.