Skip to content

Commit

Permalink
Remove unused Python examples
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Feb 7, 2024
1 parent 7d92596 commit 7a144b3
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions docs/src/python/user-guide/basics/series-dataframes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7a144b3

Please sign in to comment.