my dataframe df looks like this
Row_ID Codes
=============
1 A123,B456,C678
2 X359,C678,F23
3 J3,D24,J36,K994
I want to put all Codes in a list
something like this
['A123', 'B456', 'C678'],['X359', 'C678', 'F23'], ['J3', 'D24', 'J36', 'K994']
I did this
# an empty list
CodeList = []
for i in df['Codes']:
CodeList.append(list(i))
but what I get is this
['A','1','2','3','B'....
How can I do it the right way as mentioned above?

lower_case_with_underscoresstyle, notcamelCaseor anything else.