1

I have a text file which contains a log like this:

245     (click,view,view,check,view,view)         (22,1,5,6,7,15)

305     (view,run)       (5,6)

3051         (run,run)      (115,36)

It is tab seperated, the number of entries in the second column field is equal to the third column field.

I am finding it difficult to take this into python using np.loadtxt as it has a delimiter and text and brackets (circular) to separate the 2nd fields and 3rd fields.

Looking forward for suggestions on how I should go about it?

4

1 に答える 1