0
cast_name=movies_DataFrame["cast name"]
cast_name[0]

"['Tom Hanks', 'Tim Allen', 'Don Rickles', 'Jim Varney', 'Wallace Shawn', 'John Ratzenberger', 'Annie Potts', 'John Morris', 'Erik von Detten', 'Laurie Metcalf', 'R. Lee Ermey', 'Sarah Freeman', 'Penn Jillette']"

 cast_name[0][1]

" ' "

irishabha
  • 103
  • 9
  • Because `cast_name[0]` is a string, and not a list – sacuL May 14 '18 at 17:13
  • I suggest seeing [here](https://stackoverflow.com/questions/48008191/attributeerror-pandasexprvisitor-object-has-no-attribute-visit-ellipsis-us) for advice on how to cast your data. – cs95 May 14 '18 at 17:21

0 Answers0