Daily Dose of Data Science

Share this post

Importing Modules Made Easy with Pyforest

www.blog.dailydoseofds.com

Importing Modules Made Easy with Pyforest

Avi Chawla
Nov 9, 2022
4
Share
Share this post

Importing Modules Made Easy with Pyforest

www.blog.dailydoseofds.com

The typical programming-related stuff in data science begins by importing relevant modules.

However, across notebooks/projects, the modules one imports are mostly the same. Thus, the task of importing all the individual libraries is kinda repetitive.

With ๐—ฝ๐˜†๐—ณ๐—ผ๐—ฟ๐—ฒ๐˜€๐˜, you can use the common Python libraries without explicitly importing them. A good thing is that it imports all the libraries with their standard conventions. For instance, ๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ฎ๐˜€ is imported with the ๐—ฝ๐—ฑ alias.

With that, you should also note that it is a good practice to keep Pyforest limited to prototyping stages. This is because once you say, develop and open-source your pipeline, other users may face some difficulties understanding it.

But if you are up for some casual experimentation, why not use it instead of manually writing all the imports?

Read more: GitHub.

Thanks for reading Daily Dose of Data Science! Subscribe for free to learn something new and insightful about Python and Data Science every day. Also, get a Free Data Science PDF (250+ pages) with 200+ tips.


I like to explore, experiment and write about data science concepts and tools. You could connect with me on LinkedIn.

4
Share
Share this post

Importing Modules Made Easy with Pyforest

www.blog.dailydoseofds.com
Previous
Next
Comments
Top
New
Community

No posts

Ready for more?

ยฉ 2023 Avi Chawla
Privacy โˆ™ Terms โˆ™ Collection notice
Start WritingGet the app
Substackย is the home for great writing