You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Point the "unexpected keyword" error at the kernel(**df) fix
Unpacking a frame that carries more columns than the kernel has
parameters is the expected way to get here, and the fix -- subset the
frame -- was only findable in the guide:
TypeError: traced() got an unexpected keyword argument 'note'
If you are calling traced(**df), subset the frame to the kernel's
parameters: traced(**df[['a', 'b']])
Extra keywords stay an error rather than being filtered to the kernel's
parameters: the wrapper cannot tell "wide frame, take what you need"
from "this keyword was meant to do something", and silently dropping the
latter turns a typo or a stale argument name into wrong numbers.
Both jit routes gain the hint, and the DSL route also gains the function
name that sig.bind's message never carried. Missing operands are a
different mistake and keep their own message.
Also replace lazyudf's arity mismatch, which surfaced as a bare "zip()
argument 2 is longer than argument 1", with one naming the kernel, its
parameters and both counts.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments