Skip to content

Commit c3c500c

Browse files
authored
Improve format of data options
1 parent 617e374 commit c3c500c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ pip install chdb
4343
python3 -m chdb "SELECT 1,'abc'" Pretty
4444
```
4545

46-
There are 3 ways to use chdb: "Query On File(**Performace**)", "Query On Table(**Perfered**)" and "Python DB-API":
46+
<br>
47+
48+
### Data Input
49+
The following methods are available to access on-disk and in-memory data formats:
50+
4751
<details>
48-
<summary><h4>Query On File (Parquet, CSV, JSON, Arrow, ORC and 60+)</h4></summary>
52+
<summary><h4>🗂️ Query On File</h4> (Parquet, CSV, JSON, Arrow, ORC and 60+)</summary>
4953

5054
You can execute SQL and return desired format data.
5155

@@ -70,7 +74,7 @@ chdb.query('select * from file("data.parquet", Parquet)', 'Dataframe')
7074
</details>
7175

7276
<details>
73-
<summary><h4>Query On Table (Pandas DataFrame, Parquet file/bytes, Arrow bytes)</h4></summary>
77+
<summary><h4>🗂️ Query On Table</h4> (Pandas DataFrame, Parquet file/bytes, Arrow bytes) </summary>
7478

7579
### Query On Pandas DataFrame
7680
```python
@@ -84,7 +88,7 @@ print(ret_tbl.query('select b, sum(a) from __table__ group by b'))
8488
</details>
8589

8690
<details>
87-
<summary><h4>Python DB-API 2.0</h4></summary>
91+
<summary><h4>🗂️ Python DB-API 2.0</h4></summary>
8892

8993
```python
9094
import chdb.dbapi as dbapi
@@ -100,8 +104,11 @@ conn1.close()
100104
```
101105
</details>
102106

107+
103108
For more examples, see [examples](examples) and [tests](tests).
104109

110+
<br>
111+
105112
## Demos and Examples
106113

107114
- [Examples](examples)

0 commit comments

Comments
 (0)