Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,6 +81,10 @@ galaxies = load_dataset("Smith42/galaxies", streaming=True)
|
|
| 81 |
metadata = load_dataset("Smith42/galaxies_metadata", streaming=True).remove_columns("dr8_id")
|
| 82 |
combined = concatenate_datasets([galaxies['train'], metadata['train']], axis=1)
|
| 83 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
The metadata is also available in parquet format in the root dir of this repo.
|
| 85 |
You can link the metadata with the galaxies via their dr8_id.
|
| 86 |
|
|
|
|
| 81 |
metadata = load_dataset("Smith42/galaxies_metadata", streaming=True).remove_columns("dr8_id")
|
| 82 |
combined = concatenate_datasets([galaxies['train'], metadata['train']], axis=1)
|
| 83 |
```
|
| 84 |
+
Or you can use v2.0 of this dataset to get the metadata direct with no faffing 🤯:
|
| 85 |
+
```python
|
| 86 |
+
galaxies = load_dataset("Smith42/galaxies", revision="v2.0", streaming=True)
|
| 87 |
+
```
|
| 88 |
The metadata is also available in parquet format in the root dir of this repo.
|
| 89 |
You can link the metadata with the galaxies via their dr8_id.
|
| 90 |
|