Why is it that when record is converted to the DataFrame format of pandas, data.Time[1] can be displayed, while data.Time[-1] will return an error?

Author: Launch, Created: 2021-09-18 00:20:34, Updated:

import numpy import pandas as pd def main (: x is equal to 0. while x == 0: exchange.SetContractType ((m888)) record = exchange.GetRecords Dataframe is a file format used to store data. Log (starting time: ,_D)) data (Time) [1]/1000)) Log (Last time to log: log, _D)) data (Last time to log: log, _D)) x is equal to x plus 1.

img


More

The grassIt should be OK, you Log ((data ['Time']) look.

LaunchI tried several times and failed. Then I solved it with data ['Time'][len(data)-1].