cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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
Databricks Employee
Databricks Employee

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

2 REPLIES 2

-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

jose_gonzalez
Databricks Employee
Databricks Employee

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group