I want to change list to string as below but i got below error
TypeError: sequence item 0: expected str instance, list found
Below is my code and the input
src = pd.read_excel(r”C:TempCopy of TARAK XCODES.xlsx”, dtype=object, sheet_name=”Sheet1″)
src1 = src.values.tolist()
storesCondition = “‘” + “‘,'”.join(src1) + “‘”
print(src1)
Below is my list, actually i need string as ‘*8697415303158′,’*8697415303165’,…….
[[‘*8697415303158’], [‘*8697415303165’], [‘*8697415305107’], [‘*8697415305114’], [‘*8697415310484’], [‘00000000(bo¿)’], [‘0000000000000’], [‘0000000000001’],………..