import seaborn as sns
tips = sns.load_dataset("tips")
ax = sns.boxplot(x="day", y="total_bill", data=tips)
with open(path_to_file.txt, 'r') as file:
text = file.readline()
print(text)
old = 'old_variable'
new = None
def func():
return new if new else old
import datetime
base_datetime = datetime.datetime(2021, 4, 1, 10, 0, 0)
base_datetime_add_3_hour = base_datetime + datetime.timedelta(hours=3)
print(base_datetime)
print(base_datetime_add_3_hour)
# 2021-04-01 10:00:00
# 2021-04-01 13:00:00