{"uid":"cap_KPcKiFkH3Z_dkp1cejKLi","slug":"business-location-inventories-date-category-pivot-missing-value-fill-d2f30609","name":"Business Location Inventories — Date×Category Pivot + Missing-Value Fill","description":"Business location inventories — Date by category pivot + Explicit missing-value fill: Date by category pivot + Explicit missing-value fill for supplied business location inventories records (location_count, verified_locations). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-company-05-189?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sWZS21toGCzMifdguLEEd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pivots business location inventory records by date and company category, then fills missing values using zero, mean, or median imputation — returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Take my business location inventory rows — each with a date, company_group, location_count, and verified_locations — and produce a date-by-category pivot table for location_count, filling any missing values with the median. I have about 80 rows across groups like 'retail' and 'wholesale'.","exampleUseCases":[{"title":"Monthly location rollup by brand group","prompt":"I have 150 rows of daily location inventory records across several company groups — can you pivot them by date and company group for location_count and fill any gaps using the median?"},{"title":"Verified location audit with zero-fill","prompt":"My dataset tracks verified_locations per company group each day, but some days have nulls. Pivot it by date and category and fill the missing verified_locations values with zero so every cell is populated."},{"title":"Multi-group inventory comparison report","prompt":"I need two reports from my 60-row location dataset: a date-by-category pivot for location_count with mean imputation, and the same for verified_locations — both grouped by company_group across dates."}],"resultDescription":"Returns two analytical reports derived from the supplied rows: (1) a date-by-category pivot table for the chosen metric field (location_count or verified_locations), and (2) an explicitly missing-value-filled version of the dataset using the specified method (zero, mean, or median). Both reports use only the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit","Missing required fields (row_id, company_group, date, location_count, or verified_locations) cause validation errors","Invalid date format (must be YYYY-MM-DD) triggers pattern mismatch","Unknown fill method or field enum value returns validation error","All values null for a group/date combination may produce degenerate pivot cells","Payment of 0.01 USDC not completed via x402 protocol results in 402 response"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business location inventory records (up to 200 rows) and need both a date×category pivot and missing-value imputation in a single low-cost call. It is ideal for offline analytical reshaping of location_count and verified_locations data without any live data fetching, prediction, or external enrichment. Prefer it over general-purpose analytics tools when you want a deterministic, reproducible pivot+fill result at minimal cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:49.423Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-date-category-pivot-missing-value-fill-d2f30609"}