Uh oh!
There was an error while loading. Please reload this page.
ARROW-15006: [Python][CI][Doc] Enable numpydoc check PR03 - #13983
Conversation
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Maybe we could rather change the order in the actual signature, since it seems useful to have skip_rows and skip_rows_after_names together?
Uh oh!
There was an error while loading. Please reload this page.
amoeba
commented
Aug 29, 2022
Thanks for reviewing this @jorisvandenbossche. I took your suggestion on keeping |
jorisvandenbossche
left a comment
There was a problem hiding this comment.
Thanks for the updates! There is a conflict with dataset.pyx now that needs to be resolved.
There was a problem hiding this comment.
For this one, I would maybe also change the order of the signature instead, and make all keywords (except the first) keyword-only, using , *,
There was a problem hiding this comment.
I pushed a change to address this in d04b228 that:
- Re-orders the signatures and docstrings inside the Scanner class to be consistent and follow what I think is a sensible order
- Makes
Scanner.from_dataset,Scanner.from_fragment, andScanner.from_batchesuse the above pattern to make all args except the first keyword only
Waiting on CI.
amoeba
commented
Sep 14, 2022
Thanks @jorisvandenbossche, the conflict should now be resolved. I made an attempt at addressing your comment so let me know if that's what you were thinking. This is ready for another look when you have time. |
amoeba
commented
Sep 28, 2022
Ping @jorisvandenbossche: Any chance you have a spare moment to take a look at this again? Thanks! |
amoeba
commented
Oct 12, 2022
Sorry for the noise, I was cleaning up my fork and wiped out the commits. They've since been restored and this is ready for review. |
jorisvandenbossche
left a comment
There was a problem hiding this comment.
A very tiny last comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
amoeba
commented
Oct 19, 2022
Thanks for the review @jorisvandenbossche. I didn't mean to remove that bit and I'm not sure how I did. Good catch! All three instances of that param docstring now have the expected text. Ready for review/merge. |
Adds an additional numypdoc check to CI (PR03) and fixes all corresponding violations.
This includes one minor breaking change to parameter order in
pyarrow.parquet.read_tablewhich makes order more uniform acrossParquetDataset.__new__,read_table, andread_pandaswhich have related signatures.Note this does not fully resolve ARROW-15006.