A batch scoring script constructs JSON requests for a custom model endpoint using pandas rows. The team wants the recommended DataFrame request format that preserves column ordering. Which payload style should they prefer?
Show answer & explanation
Correct answer: C
WHY C: For pandas-style tabular scoring requests, Databricks recommends dataframe_split and notes that it preserves column ordering better than records orientation. WHY NOT A: inputs is for tensor-style payloads. WHY NOT B: instances is also for tensor-oriented inputs. WHY NOT D: records does not guarantee column order. WHY NOT E: predictions is the response wrapper, not the request format.