I'm reading data from a specific cell from the pandas datafram using loc function

Int64Index([10], dtype=‘int64’) im getting output like this instead of string

the data willl be like this a1,a2,a3 in a single cell-but when i store them using loc function im getting as Int64Index([10], dtype=‘int64’)