Last active
November 15, 2022 18:57
-
-
Save jay-johnson/23e8ac8a8a575c76eeb04a4c6c6a7bb7 to your computer and use it in GitHub Desktop.
Revisions
-
jay-johnson renamed this gist
Nov 15, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jay-johnson renamed this gist
Nov 15, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jay-johnson renamed this gist
Nov 15, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jay-johnson created this gist
Nov 15, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ let date_utc_str_s: Series = Series::new( "date_utc_str", df .column("date") .unwrap() .cast(&DataType::Datetime( polars::datatypes::TimeUnit::Milliseconds, None)) .unwrap() .strftime("%Y-%m-%dT%H:%M:%SZ") .unwrap());