ashvardanian commited on
Commit
e53e657
·
verified ·
1 Parent(s): cdda7b8

Fix: Name the libraries that can actually load each config

Browse files
Files changed (1) hide show
  1. README.md +15 -2
README.md CHANGED
@@ -19,6 +19,9 @@ tags:
19
  - tabular
20
  - pandas
21
  - dask
 
 
 
22
  configs:
23
  - config_name: example
24
  data_files: data/example/parquet/??????????-??????????.parquet
@@ -55,14 +58,24 @@ Enamine REAL is the exception on this mirror: its conformers are here and still
55
 
56
  ## Loading
57
 
 
 
 
 
 
 
 
 
 
 
 
58
  ```python
59
  from datasets import load_dataset
60
 
61
- molecules = load_dataset("unum-cloud/USearchMolecules", "example", split="train")
62
  geometry = load_dataset("unum-cloud/USearchMolecules", "example-3d", split="train")
63
  ```
64
 
65
- The shards are plain Parquet, so `pandas`, `polars`, `pyarrow` and `dask` read them directly without the `datasets` library.
66
 
67
  ## Columns
68
 
 
19
  - tabular
20
  - pandas
21
  - dask
22
+ - usearch
23
+ - rdkit
24
+ - numkong
25
  configs:
26
  - config_name: example
27
  data_files: data/example/parquet/??????????-??????????.parquet
 
58
 
59
  ## Loading
60
 
61
+ The shards are plain Parquet, and `pyarrow`, `pandas`, `polars` and `dask` read both families directly:
62
+
63
+ ```python
64
+ import pyarrow.parquet as pq
65
+
66
+ molecules = pq.read_table("data/example/parquet/0000000000-0001000000.parquet")
67
+ geometry = pq.read_table("data/example/parquet/0000000000-0001000000.3D.parquet")
68
+ ```
69
+
70
+ The `datasets` library loads the `-3d` configs, but not the fingerprint ones: MACCS, ECFP4, FCFP4 and PubChem are stored as `fixed_size_binary`, which has no `datasets` dtype equivalent.
71
+
72
  ```python
73
  from datasets import load_dataset
74
 
 
75
  geometry = load_dataset("unum-cloud/USearchMolecules", "example-3d", split="train")
76
  ```
77
 
78
+ Searching the fingerprints is what [USearch](https://github.com/unum-cloud/USearch) is for, rebuilding chemistry from a SMILES string is [RDKit](https://www.rdkit.org), and the Kabsch and Umeyama kernels for comparing conformers come from [NumKong](https://github.com/ashvardanian/NumKong).
79
 
80
  ## Columns
81