Skip to content

Commit be9682b

Browse files
committed
reorder sections
1 parent 19c5ca3 commit be9682b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
145 Bytes
Binary file not shown.

docs/hub/datasets-viewer.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ You can search for a word in the dataset by typing it in the search bar at the t
2424

2525
You can run SQL queries on the dataset in the browser using the SQL Console. The SQL Console is powered by [DuckDB](https://duckdb.org/) and runs entirely in the browser. You can access the SQL Console from the dataset page by clicking on the `SQL Console` tab.
2626

27-
Through the SQL Console, you can:
28-
29-
- Run [DuckDB SQL queries](https://duckdb.org/docs/sql/query_syntax/select) on the dataset (_checkout [SQL Snippets](https://huggingface.co/spaces/cfahlgren1/sql-snippets) for useful queries_)
30-
- Share results of the query with others via a link (_check out [this example](https://huggingface.co/datasets/gretelai/synthetic-gsm8k-reflection-405b?sql_console=true&sql=FROM+histogram%28%0A++train%2C%0A++topic%2C%0A++bin_count+%3A%3D+10%0A%29)_)
31-
- Download the results of the query to a parquet file
32-
- Embed the results of the query in your own webpage using an iframe
33-
34-
3527
<div class="flex justify-center">
3628
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/sql_console/sql-console-histogram.png"/>
3729
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/sql_console/sql-console-histogram-dark.png"/>
@@ -41,6 +33,14 @@ Through the SQL Console, you can:
4133
To learn more about the SQL Console, see the <a href="https://huggingface.co/blog/sql-console" target="_blank" rel="noopener noreferrer">SQL Console blog post</a>.
4234
</p>
4335

36+
37+
Through the SQL Console, you can:
38+
39+
- Run [DuckDB SQL queries](https://duckdb.org/docs/sql/query_syntax/select) on the dataset (_checkout [SQL Snippets](https://huggingface.co/spaces/cfahlgren1/sql-snippets) for useful queries_)
40+
- Share results of the query with others via a link (_check out [this example](https://huggingface.co/datasets/gretelai/synthetic-gsm8k-reflection-405b?sql_console=true&sql=FROM+histogram%28%0A++train%2C%0A++topic%2C%0A++bin_count+%3A%3D+10%0A%29)_)
41+
- Download the results of the query to a parquet file
42+
- Embed the results of the query in your own webpage using an iframe
43+
4444
<Tip>
4545
You can also use the DuckDB CLI to query the dataset via the `hf://` protocol. See the <a href="https://huggingface.co/docs/hub/en/datasets-duckdb" target="_blank" rel="noopener noreferrer">DuckDB CLI documentation</a> for more information.
4646
</Tip>

0 commit comments

Comments
 (0)