Skip to content

Handle pandas nullable integer data type in Graph.DataFrame#609

Merged
ntamas merged 2 commits intoigraph:masterfrom
Adriankhl:pandas_int
Nov 9, 2022
Merged

Handle pandas nullable integer data type in Graph.DataFrame#609
ntamas merged 2 commits intoigraph:masterfrom
Adriankhl:pandas_int

Conversation

@Adriankhl
Copy link
Copy Markdown
Contributor

Deal with #607.

Now the Graph.DataFrame can take columns with Int64 data type, and it throws an error when there is any null value.

@iosonofabio iosonofabio marked this pull request as draft November 8, 2022 19:14
@iosonofabio iosonofabio self-assigned this Nov 8, 2022
@iosonofabio
Copy link
Copy Markdown
Member

Thank you for working the PR. I converted it to draft until it's ready for review.

It looks reasonable. Can you please add a test for this? Maybe one case that uses this type and fails with a null value and one case that passes?

Thank you

@Adriankhl
Copy link
Copy Markdown
Contributor Author

@iosonofabio Done

@iosonofabio iosonofabio marked this pull request as ready for review November 8, 2022 20:46
@iosonofabio
Copy link
Copy Markdown
Member

Let's see if it passes CI. If so I'll drag someone else for a final check and hopefully we can merge.

Thank you!

@ntamas ntamas merged commit fd09cbf into igraph:master Nov 9, 2022
@ntamas
Copy link
Copy Markdown
Member

ntamas commented Nov 9, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants