Кто летел позавчера рейсом Москва (SVO) — Новосибирск (OVB) на месте 1A, и когда он забронировал свой билет?
select t.passenger_name,
# Round the number from input to the required number of decimals. | |
# | |
# The input format: | |
# Two lines: the first with a floating-point number, the second with an integer representing the decimal count. | |
# | |
# The output format: | |
# A formatted string containing the rounded number. | |
number = float(input()) | |
precision = int(input()) |
FROM golang:1.13.6-stretch AS builder | |
RUN apt-get update && apt-get install git ca-certificates && update-ca-certificates | |
ENV GO111MODULE=on\ | |
CGO_ENABLED=0 | |
WORKDIR /build | |
# Cache go modules – they don't change much often |
$ curl -I --http2 --insecure https://localhost:8080/
import pytest | |
# Environment Variables | |
@pytest.fixture(autouse=True) | |
def env_setup(monkeypatch): | |
monkeypatch.setenv('MY_SETTING', 'some-value') |
import pandas as pd | |
data = pd.read_csv("/datasets/visits.csv", sep="\t") | |
data['local_time'] = ( | |
pd.to_datetime(data['date_time'], format='%Y-%m-%dT%H:%M:%S') | |
+ pd.Timedelta(hours=3) | |
) | |
data['date_hour'] = data['local_time'].dt.round('1H') | |
data['too_fast'] = data['time_spent'] < 60 | |
data['too_slow'] = data['time_spent'] > 1000 |