File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def test_timestream_write(
1717) -> None :
1818 name = timestream_database_and_table
1919 df_timestream ["time" ] = datetime .now ()
20- df_timestream . reset_index ( inplace = True , drop = False )
20+ df_timestream [ "index" ] = range ( 0 , len ( df_timestream ) )
2121 df_cpu = df_timestream [df_timestream .measure_kind == "cpu_utilization" ]
2222 df_memory = df_timestream [df_timestream .measure_kind == "memory_utilization" ]
2323 kwargs = {
@@ -44,7 +44,7 @@ def test_timestream_batch_load(
4444) -> None :
4545 name = timestream_database_and_table
4646 df_timestream ["time" ] = round (time .time ()) * 1_000
47- df_timestream . reset_index ( inplace = True , drop = False )
47+ df_timestream [ "index" ] = range ( 0 , len ( df_timestream ) )
4848 df_cpu = df_timestream [df_timestream .measure_kind == "cpu_utilization" ]
4949 df_memory = df_timestream [df_timestream .measure_kind == "memory_utilization" ]
5050 error_bucket , error_prefix = wr ._utils .parse_path (path2 )
You can’t perform that action at this time.
0 commit comments