Ask a huge file statistics question about massive data ~~ 100 points plus http://bbs.csdn.net/topics/390971293
Reply to discussion (solution)
Only the date column and merchant number line are displayed. where are the user IDs and order IDs displayed?
1. read by row
2. extract the date information from the first row as the second-dimensional result array.
3. start from the second row, separate the merchant number (the first dimension of the result array) and the daily data pair number.
Only the date column and merchant number line are displayed. where are the user IDs and order IDs displayed?
1. read by row
2. extract the date information from the first row as the second-dimensional result array.
3. start from the second row, separate the merchant number (the first dimension of the result array) and the daily data pair number.
Are you sure you have read the question clearly or I am not clear enough? what I want is the count, not the order id, the user ID is only used to determine whether the user has purchased transactions before the merchant and date ..
The user id is also the order id.
These are not in the table.