two three ways:
conda and within Jupyter Hub. If you are using Anaconda (Navigator), use
pip will install for all environments;
conda will install for conda environment only. Put either of these codes in Terminal.
# using pip python -m pip install <package> # using conda conda install <package>
If it is a one off use case (which it usually never is), use the following command.
!pip install <package>
Methods to Print
There are two methods:
pprint(). They both serve the save cause but
pprint() is better at displaying complex data structures such as list of lists or JSON files.
- Posted on:
- February 8, 2022
- 1 minute read, 108 words
- See Also: