raulcd commented on issue #46516:
URL: https://github.com/apache/arrow/issues/46516#issuecomment-2894697496

   After some debugging it seems numpydoc is not correctly generating the 
parameters from the provided docstring:
   ```
   (Pdb) self.doc['Parameters']
   []
   (Pdb) self.doc['Summary']
   ['ReadOptions.equals(self, ReadOptions other)', 'Parameters', '----------', 
'other : pyarrow.csv.ReadOptions']
   ```
   This matches with the two different versions of docstring generated on the 
CPP file (depending on the Cython version used):
   ```diff 
   - PyDoc_STRVAR(__pyx_doc_7pyarrow_4_csv_11ReadOptions_6equals, 
"ReadOptions.equals(self, ReadOptions other)\nParameters\n----------\nother : 
pyarrow.csv.ReadOptions\n\nReturns\n-------\nbool");
   + PyDoc_STRVAR(__pyx_doc_7pyarrow_4_csv_11ReadOptions_6equals, 
"ReadOptions.equals(self, ReadOptions other)\n\n        Parameters\n        
----------\n        other : pyarrow.csv.ReadOptions\n\n        Returns\n        
-------\n        bool\n        ");
   ```


-- 
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]

Reply via email to