Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions: improvements to spreadsheet import #532

Closed
arc12 opened this issue Feb 14, 2012 · 6 comments
Closed

Suggestions: improvements to spreadsheet import #532

arc12 opened this issue Feb 14, 2012 · 6 comments
Assignees
Labels
Milestone

Comments

@arc12
Copy link

arc12 commented Feb 14, 2012

These are some small points but each time I import they make me think "this could be more smooth", less effort and less likely that I make a mistake.

  1. for node import, the weight has default type = String. Suggest: it should default to float since weight will normally be a continuous numeric value
  2. When importing either a nodes or edges CSV, use the column heading names to automatically select the correct value for "As table:" drop-down when a CSV file is chosen.

Gephi is great, many thanks.

Adam

@eduramiba
Copy link
Member

Hi Adam,
About a weight column in nodes table, it is not an existing column so String is used by default.
But I think the type of any column could be automatically detected for some types, and still let the user choose of course.

The second point could be done by selecting edge table if source and target columns are found, yes.

I will work on these, thanks for the ideas.
Eduardo

@jbliesener
Copy link
Contributor

As this is still open, can I just submit a suggestion? When detecting column types, maybe, we also could implement some heuristics and use the column names to detect whether the spreadsheet represents nodes or edges. "Source" and "Target" or "From" and "To" clearly represent edges, while a spreadsheet with less than three columns only can contain nodes.

@eduramiba eduramiba removed this from the 0.9 milestone Dec 16, 2015
@eduramiba eduramiba self-assigned this Jun 6, 2016
@eduramiba eduramiba added the Wishlist New features (not a bug) label Jun 22, 2016
@eduramiba eduramiba added this to the 0.9.2 milestone Jan 2, 2017
@eduramiba
Copy link
Member

This is being implemented in #1282 :)

@eduramiba
Copy link
Member

Can you please try the latest nightly build (https://github.com/gephi/gephi#nightly-builds)? It should include these changes

@wraybowling
Copy link

I can confirm that the nightly build works at importing CSVs in the matrix format

@eduramiba
Copy link
Member

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants