6d1541e1782a7b94797d5432922e64a97934cfa4,pandas/io/json/_json.py,,read_json,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,305
Before Change
if convert_axes is None and orient != "table":
convert_axes = True
ioargs = get_filepath_or_buffer(
path_or_buf,
encoding=encoding or "utf-8",
compression=compression,
storage_options=storage_options,
)
json_reader = JsonReader(
ioargs.filepath_or_buffer,
orient=orient,
typ=typ,
dtype=dtype,
convert_axes=convert_axes,
convert_dates=convert_dates,
keep_default_dates=keep_default_dates,
numpy=numpy,
precise_float=precise_float,
date_unit=date_unit,
encoding=ioargs.encoding,
lines=lines,
chunksize=chunksize,
compression=ioargs.compression,
nrows=nrows,
)
if chunksize:
return json_reader
result = json_reader.read()
ioargs.close()
return result
class JsonReader(abc.Iterator):
After Change
if chunksize:
return json_reader
return json_reader.read()
class JsonReader(abc.Iterator):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pandas-dev/pandas
Commit Name: 6d1541e1782a7b94797d5432922e64a97934cfa4
Time: 2020-11-13
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/json/_json.py
Class Name:
Method Name: read_json
Project Name: pandas-dev/pandas
Commit Name: 6d1541e1782a7b94797d5432922e64a97934cfa4
Time: 2020-11-13
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/json/_json.py
Class Name:
Method Name: read_json
Project Name: pandas-dev/pandas
Commit Name: 6d1541e1782a7b94797d5432922e64a97934cfa4
Time: 2020-11-13
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/orc.py
Class Name:
Method Name: read_orc
Project Name: pandas-dev/pandas
Commit Name: 6d1541e1782a7b94797d5432922e64a97934cfa4
Time: 2020-11-13
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/feather_format.py
Class Name:
Method Name: read_feather