Created
February 8, 2022 03:21
-
-
Save lakshmiprabharamesh/b2257bec2149316fa25e524a084506f7 to your computer and use it in GitHub Desktop.
General Import the necessary packages - pandas, numpy, seaborn, matplotlib.pyplot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Import essential packages | |
| # Pandas a python library used for data manupilation and analysis | |
| import pandas as pd | |
| # Numpy a python library used for mathematical operations on arrays | |
| import numpy as np | |
| # Matplotlib is a library used for plts and visualizations | |
| import matplotlib.pyplot as plt | |
| #Seaborn Library is based on matplotlib and used for visualizations | |
| import seaborn as sns | |
| # adding nice backgrounds to graphs | |
| sns.set(color_codes=True) | |
| #Asking python to ignore warnings | |
| import warnings | |
| warnings.filterwarnings("ignore") | |
| # asking python to display the graphs | |
| %matplotlib inline | |
| pd.set_option('display.float_format', lambda x: '%.5f' % x) # supressing numerical display in scientific notations |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its mostly used for doing EDA for any dataset.
The above imports helps to get better looking charts and avoids warnings.