Vyshali,

I saw you imported unicodecsv but I didn't see where/if you used it.
If you don't use csv.reader() or something, you won't have a data
structure where you can reference fields by name (i.e. how would it
know where "name" is in a line of text?). I'm not very familiar with
the Python csv stuff so I can't comment on whether your script has the
correct usage of that, in terms of replacing the fields inline.

Regards,
Matt

On Fri, Nov 3, 2017 at 2:35 AM, Vyshali <[email protected]> wrote:
> Hi,
>
> I replaced splitlines with split(). I'm now getting error like "Unicode
> indices must be integer".The "text" is now in the unicode format which I'm
> encoding to utf-8. I'm not sure where I'm lacking clarity.
>
> Regards,
> Vyshali
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Reply via email to