@contextmanager
def json_lines(path, encoding='utf-8'):
    if path.split(os.path.extsep)[-1] == 'gz':
        f = gzip.open(path)
        lines = (line.decode(encoding) for line in f)
    else:
        f = open(path)
        lines = f

    try:
        yield lines
    finally:
        f.close()
Fetches the data to be displayed in this cell.
dataset/ETHPy150Open blaze/odo/odo/backends/json.py/json_lines--crossover with--dataset/ETHPy150Open CiscoSystems/avos/horizon/tables/base.py/Cell.get_data