cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

NumPy update 1.18-1.21

KC_1205
New Contributor III

Hi all,

I am planning to update the DB to 9.1 LTS from 7.3 LTS, corresponding NumPy version will be 1.19 and later would like to update 1.21 in the notebooks. At cluster I have Spark version related to the 9.1 LTS which will support 1.19 and notebook will be 1.21. One should expect any compatibility or any other unknown issues? any suggestions will be appreciated.

Thank you

Kiran C

1 ACCEPTED SOLUTION

Accepted Solutions

jose_gonzalez
Moderator
Moderator

Hi @Kiran Chalasani​ ,

According to the docs DBR 7.3 LTS comes with Numpy 1.18.1 https://docs.databricks.com/release-notes/runtime/7.3.html and DBR 9.1 LTS comes with Numpy 1.19.2 https://docs.databricks.com/release-notes/runtime/9.1.html

If you need to install a newer version, then you can create a init script or install the version you need. For more details on how to do it, please check the examples in the docs https://docs.databricks.com/libraries/index.html

View solution in original post

4 REPLIES 4

-werners-
Esteemed Contributor III

@Kiran Chalasani​ , incompatibilities are possible with any upgrade.

Depending on what functionalities of NumPy you use, you will have issues or not.

Some functionalities get deprecated, and others are added. To get a clear view, I suggest looking at the numpy website and see what would change for you.

So check 1.19, 1.20 and 1.21

Kaniz
Community Manager
Community Manager

Hi @Kiran Chalasani​ , Does @Werner Stinckens​ 's reply answer your question? Do you need help?

jose_gonzalez
Moderator
Moderator

Hi @Kiran Chalasani​ ,

According to the docs DBR 7.3 LTS comes with Numpy 1.18.1 https://docs.databricks.com/release-notes/runtime/7.3.html and DBR 9.1 LTS comes with Numpy 1.19.2 https://docs.databricks.com/release-notes/runtime/9.1.html

If you need to install a newer version, then you can create a init script or install the version you need. For more details on how to do it, please check the examples in the docs https://docs.databricks.com/libraries/index.html

Kaniz
Community Manager
Community Manager

Hi @Kiran Chalasani​ , How are you doing? Do you still need help or you've solved your problem?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.