Passed
Pull Request — dev (#1226)
by Patrik
01:38
created

time_series_equidistant   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 9
dl 0
loc 22
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
3
"""
4
SPDX-FileCopyrightText: Patrik Schönfeldt
5
SPDX-FileCopyrightText: DLR e.V.
6
7
SPDX-License-Identifier: MIT
8
"""
9
10
import os
11
12
import pandas as pd
13
14
file_path = os.path.dirname(__file__)
15
16
df = pd.read_csv(
17
    os.path.join(file_path, "input_data.csv"),
18
    parse_dates=["time"],
19
    index_col="time",
20
)
21
print(df)
22