0% found this document useful (0 votes)
3 views1 page

Essential Python Libraries for Data Science

The document lists important Python libraries for data analysis and visualization, including statsmodels, seaborn, pandas, numpy, and matplotlib. It explains how to import a module with an alias and notes that variable types do not need to be explicitly defined in Python. This information is essential for working with data in machine learning and visualization contexts.

Uploaded by

Aleena Asif
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Essential Python Libraries for Data Science

The document lists important Python libraries for data analysis and visualization, including statsmodels, seaborn, pandas, numpy, and matplotlib. It explains how to import a module with an alias and notes that variable types do not need to be explicitly defined in Python. This information is essential for working with data in machine learning and visualization contexts.

Uploaded by

Aleena Asif
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Important modules/packages/libraries

statsmodels: used in machine learning, usually aliased as sm


seaborn: used for visualization, usually aliased as sns
pandas: for loading data
numpy
matplotlib

 to import a module and give it a name: import pandas as pd

 When defining variables, you don’t need to explicitly tell what type of variable is going
to be defined. You directly write the name of the variable = its value

You might also like