File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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.
1413Copy 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 .
2928First 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
3332from superannotate import SAClient
3433```
3534
@@ -41,8 +40,3 @@ annotations = sa.get_annotations("<PROJECT_NAME>)
4140df = 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- ```
You can’t perform that action at this time.
0 commit comments