Skip to content

graph_dict object wont preserve both neighbours of node (right side and below)  #14

@ramicetty

Description

@ramicetty

See here

graph_dict = {}
for src_id, row in df.iterrows():
    if row['below_obj_index'] != -1:
         graph_dict[src_id] = [row['below_obj_index']]
    if row['side_obj_index'] != -1:
	 graph_dict[src_id] = [row['side_obj_index']]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions