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

Add datasets API to import graph data from configuration/metadata files #2367

Merged
merged 84 commits into from
Jul 25, 2022

Conversation

betochimas
Copy link
Contributor

@betochimas betochimas commented Jun 22, 2022

Addresses issue #1348. A working version of the datasets API has been added under the "experimental" module of cuGraph. This API comes with the ability to import a handful of built-in datasets to create graphs and edge lists. Each dataset comes with its own metadata file in the format of a YAML file. These files contain general information about the dataset, as well as formatting information about their columns and datatypes.

betochimas and others added 30 commits June 7, 2022 13:54
@rlratzel rlratzel marked this pull request as ready for review July 11, 2022 20:47
@rlratzel rlratzel requested a review from a team as a code owner July 11, 2022 20:47
Copy link
Contributor

@rlratzel rlratzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also remove the metadata/__init__.py file if that directory does not contain any .py files.

python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/tests/test_dataset.py Outdated Show resolved Hide resolved
Copy link
Contributor

@rlratzel rlratzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few more minor requests

python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/experimental/datasets/dataset.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jnke2016 jnke2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@rlratzel
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 6644813 into rapidsai:branch-22.08 Jul 25, 2022
@rlratzel
Copy link
Contributor

closes #1348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants