Skip to content

Commit

Permalink
add readme note
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Jan 22, 2024
1 parent 40b667a commit 49af4c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ shape: (3, 2)
│ 2024-01-04 ┆ 2024-01-11 │
└────────────┴──────────────┘
```
Note that `polars-xdt` also registers a `xdt` namespace in the `Expression` class, so you
could equivalently write the above using `pl.col('date').xdt.offset_by('5bd')` (but note
that then type-checking would not recognise the `xdt` attribute).

Read the [documentation](https://marcogorelli.github.io/polars-xdt-docs/) for more examples!

Expand Down

0 comments on commit 49af4c7

Please sign in to comment.