[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
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-01-30T03:48:10+01:00 https://forum-gephi.org/app.php/feed/topic/5910 2017-01-30T03:48:10+01:002017-01-30T03:48:10+01:00 https://forum-gephi.org/viewtopic.php?t=5910&p=14176#p14176 <![CDATA[Re: WORKAROUND: First field not recognized in .csv import]]> Statistics:Posted by gulbransen — 30 Jan 2017 03:48


]]>
2016-12-26T21:36:10+01:002016-12-26T21:36:10+01:00 https://forum-gephi.org/viewtopic.php?t=5910&p=13868#p13868 <![CDATA[Re: WORKAROUND: First field not recognized in .csv import]]> I have seen this happen when the first bytes of the file are the UTF-8 BOM, so characters are not shown in Gephi UI but are being read and included in the column name, and it's not detected as the existing Id column.

Can you create a github issue about this?

Statistics:Posted by eduramiba — 26 Dec 2016 21:36


]]>
2016-12-26T21:18:41+01:002016-12-26T21:18:41+01:00 https://forum-gephi.org/viewtopic.php?t=5910&p=13867#p13867 <![CDATA[WORKAROUND: First field not recognized in .csv import]]> Les Miserables sample and pasted my data in, leaving the headers untouched. None of those would work. I tried re-arranging the fields before generating the .csv file so that the ‘label’ field was first. On that try the id field was accepted but the label field was ignored and imported as an additional string field.

Taking that as a clue, what I eventually found was by putting a fake data column at the beginning, and unchecking the box to import the field, it would recognize both the id and label fields and import them properly.

I am using Excel and UTF-8 .csv files. I did examine them in a text editor to ensure there was no funny business at the beginning of the file. This is a new-to-me behavior, so I wanted to post the problem and my solution in hopes the import issue might be fixed and/or so that someone encountering the same problem wouldn’t be stuck like I was.

Statistics:Posted by bellhalla — 26 Dec 2016 21:18


]]>