graphtab-sample / README.md
alexodavies's picture
Upload processed GraphTab dataset (55 items)
2e5ad8d verified
|
raw
history blame
2.62 kB
metadata
license: mit
source_datasets:
  - approximatelabs/tablib-v1-sample
task_categories:
  - tabular-to-graph
  - graph-learning
  - network-analysis
language:
  - en
configs:
  - config_name: default
    data_files:
      - split: part_1
        path: data/part_1-*
      - split: part_2
        path: data/part_2-*
      - split: part_3
        path: data/part_3-*
      - split: part_108
        path: data/part_108-*
      - split: part_109
        path: data/part_109-*
      - split: part_110
        path: data/part_110-*
      - split: part_111
        path: data/part_111-*
      - split: part_112
        path: data/part_112-*
      - split: part_113
        path: data/part_113-*
      - split: part_114
        path: data/part_114-*
      - split: part_115
        path: data/part_115-*
      - split: part_116
        path: data/part_116-*
      - split: part_117
        path: data/part_117-*
dataset_info:
  features:
    - name: batch_id
      dtype: int64
    - name: table_id
      dtype: int64
    - name: reconstruction_id
      dtype: int64
    - name: graph_data
      dtype: string
    - name: column_names
      dtype: string
    - name: num_nodes
      dtype: int64
    - name: num_edges
      dtype: int64
    - name: serialization
      dtype: string
    - name: original_size
      dtype: int64
    - name: serialized_size
      dtype: int64
  splits:
    - name: part_1
      num_bytes: 2664
      num_examples: 2
    - name: part_2
      num_bytes: 228
      num_examples: 1
    - name: part_3
      num_bytes: 1423
      num_examples: 1
    - name: part_108
      num_bytes: 6997759
      num_examples: 251
    - name: part_109
      num_bytes: 1121365
      num_examples: 224
    - name: part_110
      num_bytes: 5103770
      num_examples: 288
    - name: part_111
      num_bytes: 5692103
      num_examples: 196
    - name: part_112
      num_bytes: 933309
      num_examples: 255
    - name: part_113
      num_bytes: 2805991
      num_examples: 264
    - name: part_114
      num_bytes: 2731955
      num_examples: 239
    - name: part_115
      num_bytes: 6089718
      num_examples: 244
    - name: part_116
      num_bytes: 1910196
      num_examples: 235
    - name: part_117
      num_bytes: 240283
      num_examples: 55
  download_size: 17770528
  dataset_size: 33630764

GraphTab Sample Dataset

This dataset contains tables from approximatelabs/tablib-v1-sample processed into graph representations.

Usage

from datasets import load_dataset
import graphtab

# Load the dataset
dataset = load_dataset("{full_repo_id}")

# Access a graph
graph_data = dataset['test'][0]

# Deserialize it
graph = graphtab.deserialize_graph(graph_data['graph_data'], graph_data['serialization'])

Citation

If you use this dataset, please cite both the original dataset and GraphTab.