def _convert_to_line_delimits(s):
 if ((not (s[0] == '[')) and (s[(-1)] == ']')):
  return s
 s = s[1:(-1)]
 from pandas.lib import convert_json_to_lines
 return convert_json_to_lines(s)

def _convert_to_line_delimits ( s ) : if ( ( not ( s [ 0 ] == '[' ) ) and ( s [ ( - 1 ) ] == ']' ) ) : return s s = s [ 1 : ( - 1 ) ] from pandas . lib import convert_json_to_lines return convert_json_to_lines ( s )
helper function that converts json lists to line delimited json .