{"uid":"cap_VIK6ta0GzNu4Ql62YiLJB","slug":"transport-ridership-equal-width-histogram-and-missing-value-fill-745545d7","name":"Transport Ridership Equal-Width Histogram and Missing-Value Fill","description":"Transport ridership — Equal-width histogram + Explicit missing-value fill: Equal-width histogram + Explicit missing-value fill for supplied transport ridership records (passenger_count, service_count). 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-economics-05-175?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","passenger_count","service_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"service_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passenger_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","service_count":1,"passenger_count":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","service_count":2,"passenger_count":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","service_count":3,"passenger_count":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","service_count":4,"passenger_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["passenger_count","service_count"],"type":"string","default":"passenger_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_Ko_i06wJ8RKTY3ZHK6tNt","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":"Generates an equal-width histogram and fills missing values for transport ridership data (passenger_count and service_count) across up to 200 rows, producing two analytical reports in a single call.","exampleAgentPrompt":"I have 150 rows of bus ridership records with some null passenger_count values — can you fill in the missing values using median imputation and also generate a 10-bin equal-width histogram for passenger_count?","exampleUseCases":[{"title":"Transit agency ridership distribution audit","prompt":"Here are 120 daily ridership records for our bus network across three regions. Can you bin the passenger_count into 8 equal-width histogram buckets and fill any missing passenger_count values with the median so I can see the overall distribution?"},{"title":"Service count gap analysis for transit planner","prompt":"I've got a dataset of 90 transit service records and several service_count entries are null. Please impute the missing service_count values using the mean and produce a 5-bin histogram for service_count so I can see how service levels are spread out."},{"title":"Regional ridership data cleanup before reporting","prompt":"We're preparing a monthly report and our 200-row ridership CSV has some passenger_count nulls — fill those with zero and give me a 15-bin equal-width histogram for passenger_count so we can spot any unusual spikes before the board meeting."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing bin edges and counts for the selected field, and (2) a version of the input records with missing values for the selected field filled using the chosen method (zero, mean, or median). Both reports are computed locally without external data lookups.","failureModes":["Rows exceed 200 item limit — request will be rejected","Invalid date format (not YYYY-MM-DD) causes row validation failure","bins value outside 1–30 range causes schema validation error","All values null for selected field may produce degenerate histogram","row_id missing or empty causes required-field validation error","Numeric values outside ±1,000,000,000,000 are rejected"],"whenToPreferThis":"Choose this endpoint when you need both a distribution summary (histogram) and missing-value imputation for transport ridership data (passenger_count or service_count) in a single low-cost call. It is ideal for offline, batch analytical tasks on up to 200 rows where no live data lookups, predictions, or external integrations are needed. Prefer this over generic statistics APIs when you specifically have transit ridership records with the required schema fields (row_id, region, date, passenger_count, service_count).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:26.745Z","isFirstParty":false,"canonicalSlug":"transport-ridership-equal-width-histogram-and-missing-value-fill-745545d7"}