Technical requirements
We will leverage the numpy, pandas, matplotlib, seaborn, sklearn, and factor_analyzer libraries in Python for this chapter. This chapter assumes you have sklearn and factor_analyzer installed. If you do not, you can install them using the following code. The code and notebooks for this chapter are available on GitHub at https://github.com/PacktPublishing/Exploratory-Data-Analysis-with-Python-Cookbook:
pip install scikit-learn pip install factor_analyzer