I have such a csv file;

```
rgb-28.ppm
rgb-29.ppm (214.75142, 45.618622, 319.0, 152.53371, 0.91839749)
rgb-30.ppm (235.09999, 47.999729, 319.0, 147.49998, 0.88473213)  (281.05219, 54.649971, 319.0, 108.78567, 0.61637461)

```

On each line, there is the name of a file, and there is one or multiple tuples belonging to that file.

I want to read this csv file as the following.

On each row, the first column will involve the name of the file. The next columns will involve the tuples. If there won't be any tuple, the column will be empty. If there is a tuple, the tuple will occupy the column.

And when I want to read this file as the following;

```
contours = genfromtxt(path, delimiter=' ')

```

I get the following error:

> 
> Line #36098 (got 6 columns instead of 1)
> 
> 
> 

How can I read such kind of a file into a csv?

Thanks,