Skip to content

Commit 56b1889

Browse files
committed
Fix NaT representation for newer version of Pandas (pandas-dev/pandas#29578 - it was a feature, not a bug! :))
1 parent d302beb commit 56b1889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Website/results.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def _timezone(series):
1717
s = pd.to_datetime(series, unit='s')
1818
s = s.dt.tz_localize('UTC').dt.tz_convert('CET')
19-
s = s.dt.strftime('%#d.%m. %H:%M:%S')
19+
s = s.dt.strftime('%#d.%m. %H:%M:%S').fillna('NaT')
2020
return s
2121

2222

0 commit comments

Comments
 (0)