File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -265,15 +265,17 @@ def time_lookup_and_cleanup(self):
265
265
266
266
class ToDatetimeFromIntsFloats :
267
267
def setup (self ):
268
- timestamp_seconds_int = Series (range (1521080307 , 1521685107 ), dtype = "int64" )
269
- timestamp_seconds_float = timestamp_seconds_int .astype ("float64" )
268
+ self .timestamp_seconds_int = Series (
269
+ range (1521080307 , 1521685107 ), dtype = "int64"
270
+ )
271
+ self .timestamp_seconds_float = timestamp_seconds_int .astype ("float64" )
270
272
271
273
def to_datetime_int (self ):
272
- to_datetime (timestamp_seconds_int , unit = "s" )
274
+ to_datetime (self . timestamp_seconds_int , unit = "s" )
273
275
274
276
# float64 should about the same as int64
275
277
def to_datetime_float (self ):
276
- to_datetime (timestamp_seconds_float , unit = "s" )
278
+ to_datetime (self . timestamp_seconds_float , unit = "s" )
277
279
278
280
279
281
class ToDatetimeYYYYMMDD :
You can’t perform that action at this time.
0 commit comments