some tic values are divided into two parts . You have to combine these two parts into one tic string. Then, load the data into a dataframe
like this:
20141130 GIS 7713.1
20150228 GIS 6642.6
20150531 GIS 7607.7
19990630 GNT X 0.0000
19990930 GNT X 0.0000
19991231 GNT X 0.0000
20000331 GNT X 0.0000
20000630 GNT X 0.0000
The above is correct, the below converts to the above
import pandas as pd
def load_tic(str1, str2):
list1 = []
dic = {}
for i in str1:
list1.append(str1 + str2)
dic['tic_str'] = list1
return pd.DataFrame(dic)
Comments
Leave a comment