mroeschke opened a new issue, #45733:
URL: https://github.com/apache/arrow/issues/45733

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```python
   >>> import pyarrow as pa
   >>> import pyarrow.compute as pc
   >>> import pandas as pd, numpy as np
   >>> pd.Series(np.array([1.0, 2.0, 3.0, 40.0, np.nan])).skew(skipna=True)
   np.float64(1.988947740397821)
   >>> pc.skew(pa.array([1.0, 2.0, 3.0, 40.0, None]), skip_nulls=True)
   <pyarrow.DoubleScalar: 1.14831951332278>
   ```
   
   If `skew` is always calculating the unbiased skew, with pyarrow's value 
being lower than pandas's value it appears pyarrow might be counting `None` as 
an observation while pandas is not considering it's missing value as an 
observation.
   
   cc @pitrou xref https://github.com/apache/arrow/pull/45677
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to