cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Modules

missyT
New Contributor III

Hello Python People.

Im still going through the motions learning python and have a general question.

example = Im creating basic ETL tasks to practice (SQL, SQLite, Excel etc)

I can see that to read excel I can use the pyodbc module - or can use Pandas , openpyxl

is it ok to just take pieces where needed that you prefer from other modules or would you aim to use as few modules as possible?

I suppose I'm not sure of the cost of importing modules

1 REPLY 1

-werners-
Esteemed Contributor III

do not reinvent the wheel. If what you need exists already, use it.

If you only use a few methods of a package you can consider not importing it completely.

The cost of importing is not huge, but that depends on the amount of imports and the size of the imported packages.

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