File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,10 @@ Or just vendor it, it's only a bunch of pure-Python files.
2929
3030There are three steps to writing dataframe-agnostic code using Narwhals:
3131
32- 1 . use ` narwhals.translate_frame ` to wrap a pandas or Polars DataFrame to a Narwhals DataFrame
33- 2 . (optional) use ` narwhals.get_namespace ` to get a namespace object
34- 3 . use the subset of the Polars API defined in https://github.com/MarcoGorelli/narwhals/blob/main/narwhals/spec/__init__.py .
32+ 1 . use ` narwhals.DataFrame ` to wrap a pandas or Polars DataFrame to a Narwhals DataFrame
33+ 2 . use the subset of the Polars API supported by Narwhals
3534 Some methods are only available if you called ` narwhals.translate_frame ` with ` is_eager=True `
36- 4 . use ` narwhals.to_native ` to return an object to the user in their original
35+ 3 . use ` narwhals.to_native ` to return an object to the user in its original
3736 dataframe flavour. For example:
3837
3938 - if you started with pandas, you'll get pandas back
You can’t perform that action at this time.
0 commit comments