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

0
785
Image source: https://github.com/8080labs/pyforest/blob/master/examples/assets/pyforest_demo_in_jupyter.gif

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: https://github.com/8080labs/pyforest

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.