[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Importing a Single Edge Attribute
Page 1 of 1

Importing a Single Edge Attribute

Posted: 28 Mar 2018 06:00
by shishong
I want to add an edge attribute to my existing workspace by importing that edge attribute column (csv file) into Gephi (0.9.2). I tried the "import spreadsheet" procedure and selected "append into existing workspace." This, however, resulted in concatenating the imported data below the existing rows instead of merging the new edge attribute next to the existing data.

What is the most straight forward way to merge a new edge attribute to the existing edge data? Thank you.

-Patrick

Re: Importing a Single Edge Attribute

Posted: 28 Mar 2018 06:55
by eduramiba
Hi, you have to provide the id column too, so rows can be matched

Re: Importing a Single Edge Attribute

Posted: 28 Mar 2018 19:12
by shishong
Hi,

I did include the Id column, but it didn't work. I encountered the same result. I wonder if this is a OS X specific issue.
I took the Les Miserable edge data table, exported the table to csv file, added an additional column to this file, and imported this using "Import Spreadsheet." I included the Id column along with the new column I created, but it just wouldn't merge. Instead, it got appended. The appended part were assigned numeric edge IDs that seem to continue to increment beyond the max ID that existed before the import. Please help. Thank you.

-Patrick