Skip to content

Commit

Permalink
renew time_series.cast_date_to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
linjing-lab committed Sep 22, 2023
1 parent 60064f9 commit 1b02302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide/src/examples/time_series/cast_date_to_string.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import polars as pl

df = pl.read_csv("data/appleStock.csv", parse_dates=False)
df = pl.read_csv("data/appleStock.csv", try_parse_dates=False)

df = df.with_columns(pl.col("Date").str.strptime(pl.Date, fmt="%Y-%m-%d"))

0 comments on commit 1b02302

Please sign in to comment.