how to fast processing one million strings to remove quotes

Daiyue Weng daiyueweng at gmail.com
Wed Aug 2 14:18:02 EDT 2017


it is getting from an encrypted and snappy file

On 2 August 2017 at 19:13, Peter Otten <__peter__ at web.de> wrote:

> Daiyue Weng wrote:
>
> > Hi, I am trying to removing extra quotes from a large set of strings (a
> > list of strings), so for each original string, it looks like,
> >
> > """str_value1"",""str_value2"",""str_value3"",1,""str_value4"""
>
> Where did you get that strange list from in the first place?
>
> If it is read from a file it is likely that you can parse the data into the
> desired format directly, e. g. by using the csv module.
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list