Skip to content

Commit 2c8e052

Browse files
committed
Updated Readme
1 parent 9185cba commit 2c8e052

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

readme.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ This Python package provides a set of utilities for working with SuperAnnotate d
77
### Features
88
- Process SuperAnnotate vector instance data.
99
- Convert processed data into a PySpark DataFrame.
10-
- Write DataFrame to a Delta table, creating the table if it does not exist, or updating the existing table with new data.
1110

1211

1312
### Example notebooks.
1413
Copy the notebooks in the demo folder to your databricks workspace to get started with SuperAnnotate quickly!
1514

1615
### Installation
1716
```bash
18-
pip install your-package-name
17+
pip install superannotate_databricks_connector
1918
```
2019

2120
### Tests
@@ -29,7 +28,7 @@ docker build -f Dockerfile.test -t test_package .
2928
First import the required function
3029

3130
```python
32-
from your_package_name import get_vector_dataframe, write_annotations_to_delta
31+
from superannotate_databricks_conector.vector import get_vector_dataframe
3332
from superannotate import SAClient
3433
```
3534

@@ -41,8 +40,3 @@ annotations = sa.get_annotations("<PROJECT_NAME>)
4140
df = get_vector_dataframe(annotations, spark)
4241
```
4342

44-
Finally you can write the data frame to a delta table
45-
46-
```python
47-
write_annotations_to_delta(df, "your_database", "your_table", spark)
48-
```

0 commit comments

Comments
 (0)