zhengruifeng commented on code in PR #47965:
URL: https://github.com/apache/spark/pull/47965#discussion_r1741570457


##########
.github/workflows/build_and_test.yml:
##########
@@ -723,7 +723,7 @@ jobs:
         # See 'ipython_genutils' in SPARK-38517
         # See 'docutils<0.18.0' in SPARK-39421
         python3.9 -m pip install 'sphinx==4.5.0' mkdocs 
'pydata_sphinx_theme>=0.13' sphinx-copybutton nbsphinx numpydoc jinja2 
markupsafe 'pyzmq<24.0.0' \
-          ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.20.0' 
pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \
+          ipython ipython_genutils sphinx_plotly_directive 'numpy==1.26.4' 
pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \

Review Comment:
   it is interesting that the output type of Pandas itself also varies after 
`numpy` upgrade:
   
   before
   ```
   In [4]: import pandas as pd
   
   In [5]: import numpy as np
   
   In [6]: pd.Series([None, None, 3, 4, 5], index=[100, 200, 300, 400, 
500]).first_valid_index()
   Out[6]: 300
   
   In [7]: pd.__version__
   Out[7]: '2.2.2'
   
   In [8]: np.__version__
   Out[8]: '1.26.4'
   ```
   
   after
   ```
   In [1]: import pandas as pd
   
   In [2]: import numpy as np
   
   In [3]: pd.Series([None, None, 3, 4, 5], index=[100, 200, 300, 400, 
500]).first_valid_index()
   Out[3]: np.int64(300)
   
   In [4]: pd.__version__
   Out[4]: '2.2.2'
   
   In [5]: np.__version__
   Out[5]: '2.1.0'
   ```



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

Reply via email to