4f75a1f7aba45eb4cb72841c6efcd3d3954a10cd,fonduer/parser/parser.py,ParserUDF,_parse_table,#ParserUDF#Any#Any#,147
Before Change
)
// Create the Table in the DB
parent = state["parent"][node]
if not isinstance(parent, Section):
logger.warning("Table is nested within {}".format(parent))
state["context"][node] = Table(
document=state["document"],
// TODO: This just takes the one and only Section in a document
// and assigns it as the Table"s parent.
After Change
else:
raise NotImplementedError("Table is not within a Section or Cell")
state["context"][node] = Table(**parts)
// Local state for each table. This is required to support nested
// tables
state["table"][table_idx] = {
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: HazyResearch/fonduer
Commit Name: 4f75a1f7aba45eb4cb72841c6efcd3d3954a10cd
Time: 2018-07-18
Author: lwhsiao@stanford.edu
File Name: fonduer/parser/parser.py
Class Name: ParserUDF
Method Name: _parse_table
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: e5c0ff2865c1eac87fb7279b5d381c736d7a52e2
Time: 2017-10-31
Author: alixh@google.com
File Name: bigquery/cloud-client/snippets.py
Class Name:
Method Name: create_table
Project Name: biolab/orange3
Commit Name: 959f696b68e68ab67ea44b49dd1070c217ee62b1
Time: 2016-09-13
Author: marko.toplak@gmail.com
File Name: Orange/preprocess/transformation.py
Class Name: Transformation
Method Name: __call__