Skip to content

Commit e764336

Browse files
Feat/implement narwhals for df-agnosticity (#38)
* Drop pandas dependency, switch to narwhals for df-agnosticity * Updated lock, readme, docstrings.
1 parent 75dbb50 commit e764336

File tree

7 files changed

+445
-275
lines changed

7 files changed

+445
-275
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ data = foo.read(select=["name","address"], filter="salary gt 10000", top=5, orde
231231

232232
### Create
233233

234-
To create rows, you can use a `pandas.DataFrame` or a simple construct like a list of dicts, where each dict contains the data for a single row.
234+
To create rows, you can use a `DataFrame` supported by [`narwhals`](https://narwhals-dev.github.io/narwhals/) or a simple construct like a list of dicts, where each dict contains the data for a single row.
235235

236236
Below is an example of creating rows in the Entity by passing a dataframe and specifying that the creation method should be the `CreateMultiple` web API Action. The `return_created` argument can be set to `True` if you need the IDs as reference.
237237

0 commit comments

Comments
 (0)