-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata_declaration.py
41 lines (35 loc) · 2.47 KB
/
data_declaration.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import pandas as pd
# Load nearest_bus_station data
df_nearestBusStation = pd.read_csv("nearest_bus_station.csv", encoding='utf-8')
final_nearest_bus_station = pd.read_csv("final_nearest_bus_station.csv", encoding='utf-8')
# Load weather data
df_weather = pd.read_csv("weather.csv", encoding='euc-kr')
# Load final_bus_station data
final_bus_station = pd.read_csv("final_bus_station.csv", encoding='utf-8')
# Load bus station data for each month
df_BusStation2201 = pd.read_csv("bus_station/busStation202201.csv", encoding='utf-8')
df_BusStation2202 = pd.read_csv("bus_station/busStation202202.csv", encoding='utf-8')
df_BusStation2203 = pd.read_csv("bus_station/busStation202203.csv", encoding='utf-8')
df_BusStation2204 = pd.read_csv("bus_station/busStation202204.csv", encoding='utf-8')
df_BusStation2205 = pd.read_csv("bus_station/busStation202205.csv", encoding='utf-8')
df_BusStation2206 = pd.read_csv("bus_station/busStation202206.csv", encoding='utf-8')
df_BusStation2207 = pd.read_csv("bus_station/busStation202207.csv", encoding='utf-8')
df_BusStation2208 = pd.read_csv("bus_station/busStation202208.csv", encoding='utf-8')
df_BusStation2209 = pd.read_csv("bus_station/busStation202209.csv", encoding='utf-8')
df_BusStation2210 = pd.read_csv("bus_station/busStation202210.csv", encoding='utf-8')
df_BusStation2211 = pd.read_csv("bus_station/busStation202211.csv", encoding='utf-8')
df_BusStation2212 = pd.read_csv("bus_station/busStation202212.csv", encoding='utf-8')
df_BusStation2301 = pd.read_csv("bus_station/busStation202301.csv", encoding='utf-8')
df_BusStation2302 = pd.read_csv("bus_station/busStation202302.csv", encoding='utf-8')
df_BusStation2303 = pd.read_csv("bus_station/busStation202303.csv", encoding='utf-8')
df_BusStation2304 = pd.read_csv("bus_station/busStation202304.csv", encoding='utf-8')
# Load subway data for each month
df_subway_202301 = pd.read_csv("subway/subway202301.csv", encoding='utf-8')
df_subway_202302 = pd.read_csv("subway/subway202302.csv", encoding='utf-8')
df_subway_202303 = pd.read_csv("subway/subway202303.csv", encoding='utf-8')
df_subway_202304 = pd.read_csv("subway/subway202304.csv", encoding='utf-8')
df_subway_2022 = pd.read_csv("subway/subway2022.csv", encoding='utf-8')
# Load concatenated data
# df_concat_bus_near = pd.read_csv("concat_data/concat_near_bus.csv", encoding='utf-8')
# df_concat_bus_near_sub = pd.read_csv("concat_data/concat_bus_near_sub.csv", encoding='utf-8')
df_concat_final = pd.read_csv("concat_data/concat_final.csv", encoding='utf-8')