Spaces:
Sleeping
Sleeping
BorowyP
commited on
Commit
•
4fb152f
1
Parent(s):
5d60fa8
panel app
Browse files- Lufttemperatur.py +1 -1
Lufttemperatur.py
CHANGED
@@ -44,7 +44,7 @@ air_temp = pd.read_csv(r'df_air_temp.csv', sep=',',
|
|
44 |
#dtype={'temp': np.float64},
|
45 |
na_values=('#-INF', '#NAN'))
|
46 |
|
47 |
-
air_temp.index = pd.to_datetime(air_temp['Date'], format='%Y
|
48 |
|
49 |
air_temp = air_temp.drop(['Date'], axis=1)
|
50 |
air_temp['temp'] = air_temp['temp'].astype(np.float64, copy=True, errors='ignore')
|
|
|
44 |
#dtype={'temp': np.float64},
|
45 |
na_values=('#-INF', '#NAN'))
|
46 |
|
47 |
+
air_temp.index = pd.to_datetime(air_temp['Date'], format='%Y-%m-%d %H:%M:%S')
|
48 |
|
49 |
air_temp = air_temp.drop(['Date'], axis=1)
|
50 |
air_temp['temp'] = air_temp['temp'].astype(np.float64, copy=True, errors='ignore')
|