def movie_body_count(data_set='<STR_LIT>'):
if not data_available(data_set):<EOL><INDENT>download_data(data_set)<EOL><DEDENT>from pandas import read_csv<EOL>dir_path = os.path.join(data_path, data_set)<EOL>filename = os.path.join(dir_path, '<STR_LIT>')<EOL>Y = read_csv(filename)<EOL>Y['<STR_LIT>'] = Y['<STR_LIT>'].apply(lambda x: x.split('<STR_LIT:|>'))<EOL>Y['<STR_LIT>'] = Y['<STR_LIT>'].apply(lambda x: x.split('<STR_LIT:|>'))<EOL>Y['<STR_LIT>'] = Y['<STR_LIT>'].apply(lambda x: x.split('<STR_LIT:|>'))<EOL>return data_details_return({'<STR_LIT:Y>': Y, '<STR_LIT:info>' : "<STR_LIT>",<EOL>}, data_set)<EOL>
Data set of movies and body count for movies scraped from www.MovieBodyCounts.com created by Simon Garnier and Randy Olson for exploring differences between Python and R.