File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import pandas
1
+ import pandas as pd
2
2
from pandas import compat
3
3
from pandas .io .parsers import TextParser
4
4
@@ -141,7 +141,7 @@ def __get_cell_value(self, cell):
141
141
return float (cell_value )
142
142
elif cell_type == 'date' :
143
143
cell_value = cell .attributes .get ((OFFICENS , 'date-value' ))
144
- return pandas .Timestamp (cell_value )
144
+ return pd .Timestamp (cell_value )
145
145
elif cell_type == 'time' :
146
146
cell_value = cell .attributes .get ((OFFICENS , 'time-value' ))
147
147
return (pandas_isoduration_compatibility (cell_value ))
@@ -160,4 +160,4 @@ def pandas_isoduration_compatibility(duration):
160
160
"""
161
161
if duration .startswith ('PT' ):
162
162
duration = 'P0DT' + duration [2 :]
163
- return pandas .Timedelta (duration )
163
+ return pd .Timedelta (duration )
You can’t perform that action at this time.
0 commit comments