BharatDeva opened a new pull request, #1527: URL: https://github.com/apache/datafusion-python/pull/1527
# Which issue does this PR close? Closes #1463. # Rationale for this change Some function docstrings in `python/datafusion/functions.py` include examples but do not describe their arguments. This makes the generated API docs harder to scan when users are looking up function signatures. This PR makes a small, focused pass over the related null-handling helpers. # What changes are included in this PR? Adds `Args:` sections for: - `coalesce` - `ifnull` - `nanvl` - `nvl` - `nvl2` # Are there any user-facing changes? Yes, documentation-only. The generated API docs will include clearer argument descriptions for these functions. Runtime behavior is unchanged. # Validation - `uv tool run [email protected] check --config pyproject.toml python/datafusion/functions.py` - Result: `All checks passed!` - `uv tool run [email protected] format --check --config pyproject.toml python/datafusion/functions.py` - Result: `1 file already formatted` - `git diff --check` - Result: passed with no whitespace errors # LLM-generated code disclosure This documentation update was prepared with assistance from OpenAI Codex and manually reviewed before submission. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
