Datasets:

Modalities:
Image
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
Smith42 commited on
Commit
e067617
·
verified ·
1 Parent(s): 8d63c6a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -46,9 +46,9 @@ To combine the metadata with the galaxy images you can do (for example):
46
  from datasets import load_dataset, concatenate_datasets
47
 
48
  # Load the `galaxies' dataset with metadata
49
- metadata = load_dataset("Smith42/galaxies_metadata", streaming=True)
50
  galaxies = load_dataset("Smith42/galaxies", streaming=True)
51
- combined = concatenate_datasets([galaxies['train'], metadata['train']])
 
52
  ```
53
  The metadata is also available in parquet format in the root dir of this repo.
54
  You can link the metadata with the galaxies via their dr8_id.
 
46
  from datasets import load_dataset, concatenate_datasets
47
 
48
  # Load the `galaxies' dataset with metadata
 
49
  galaxies = load_dataset("Smith42/galaxies", streaming=True)
50
+ metadata = load_dataset("Smith42/galaxies_metadata", streaming=True).remove_columns("dr8_id")
51
+ combined = concatenate_datasets([galaxies['train'], metadata['train']], axis=1)
52
  ```
53
  The metadata is also available in parquet format in the root dir of this repo.
54
  You can link the metadata with the galaxies via their dr8_id.