Pyforest– Importing Python Data Science Libraries in One Line of Code

Image source:

To import libraries in python, different lines of codes are required.

import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
##imported pandas, matplotlib, seaborn and numpy

This new library “Pyforest” can reduce the set of above codes to one single code. Now, you can import most of the libraries using a single line of code of Pyforest.

Below is the terminal installation

From the terminal, enter:

pip install pyforest

Single line of code to import all python libraries.

from pyforest import *

Github Link:


Please enter your comment!
Please enter your name here
