From 7a144b3a0ad5e22bf58c6375c282e77ab1765bc4 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Wed, 7 Feb 2024 18:59:58 +0100 Subject: [PATCH] Remove unused Python examples --- .../user-guide/basics/series-dataframes.py | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/docs/src/python/user-guide/basics/series-dataframes.py b/docs/src/python/user-guide/basics/series-dataframes.py index 3171da06adbc..edc1a2a25c3c 100644 --- a/docs/src/python/user-guide/basics/series-dataframes.py +++ b/docs/src/python/user-guide/basics/series-dataframes.py @@ -5,27 +5,6 @@ print(s) # --8<-- [end:series] -# --8<-- [start:minmax] -s = pl.Series("a", [1, 2, 3, 4, 5]) -print(s.min()) -print(s.max()) -# --8<-- [end:minmax] - -# --8<-- [start:string] -s = pl.Series("a", ["polar", "bear", "arctic", "polar fox", "polar bear"]) -s2 = s.str.replace("polar", "pola") -print(s2) -# --8<-- [end:string] - -# --8<-- [start:dt] -from datetime import date - -start = date(2001, 1, 1) -stop = date(2001, 1, 9) -s = pl.date_range(start, stop, interval="2d", eager=True) -print(s.dt.day()) -# --8<-- [end:dt] - # --8<-- [start:dataframe] from datetime import datetime