Remove comma from tuples in python.

Mircescu Andrei mircescu.andrei at gmail.com
Fri Feb 21 02:02:58 EST 2014


vineri, 21 februarie 2014, 08:49:01 UTC+2, Jaydeep Patil a scris:
> I am getting below tuple from excel.
> 
> How should i remove extra commas in each tuple to make it easy for operations.
> 
> 
> 
> tuples is:
> 
> seriesxlist1 = ((0.0), (0.01), (0.02), (0.03), (0.04), (0.05), (0.06), (0.07), (0.08), (0.09), (0.1), (0.11))
> 
> 
> 
> 
> 
> 
> 
> please suggest me solution.
> 
> 
> 
> 
> 
> 
> 
> Regards
> 
> jay

i think you have a tuple of tuples there. a tuple of 12 tuples.

you need to parse each one and represent it as you wish



More information about the Python-list mailing list