{
"efileId": "E-6db46a60-1736-4dd1-8964-fb36f237e487",
"stateName": "federal",
"returnType": "1040",
"docList": [
"dMainInfo",
"dReturnInfo",
"d1040",
"dIRS1040Sch2",
"dPriceList",
"dCustomLetter",
"d8867",
"dConsentToDisclose",
"dConsentToUse",
"d8962",
"dIncDeductionInterviewMode",
"d8879",
"dW2",
"dSchC",
"d1099NEC",
"d1095A",
"d6198"
],
"ackBalanceDue": 0,
"ackRefund": 35
},
{
"efileId": "E-64a009af-708c-4895-891b-c647ae5c62cd",
"stateName": "federal",
"returnType": "1040",
"docList": [
"dMainInfo",
"dReturnInfo",
"d1040",
"d2YrFormCompare",
"dW2",
"dCustomLetter",
"dConsentToDisclose",
"dConsentToUse",
"d8879",
"dFormPayment"
],
"ackBalanceDue": 1,
"ackRefund": 0
},
{
"efileId": "E-62b5aa4a-9fee-4a65-a910-1496be16a2f1",
"stateName": "ny",
"returnType": "201",
"docList": [
"dNYIT201",
"dNYWktMIscwkt",
"dTR579IT",
"dNY573",
"dNYIT213",
"dNYIT213Wkt",
"dNYIT215"
],
"ackBalanceDue": 0,
"ackRefund": 0
}
}
I have Json data of 2 lakh records like this and i want to find that unique records which has a unique cobination of doclist(no other doclist has that combination like that in that record) using polars can anyone help me with the code and also I have three varaint of the problem
- first is the upper one (Unique docList records)
- second one is to find certain value not exist in docList.
- Count of same docList exist in the data.