<jupyter_start><jupyter_text><jupyter_code>path="https://raw.githubusercontent.com/SanjayMohanty-20/18CSE067/main/Bank_churn_modelling.csv"
import pandas as pd
data = pd.read_csv(path)
data
type(data)
data.shape
data.info()
data.index
data.columns
data.head()
data.tail()
data[['Balance',"Age"]].head(10)
### Data Wrangling (Working With Null Values)
data.isnull().sum()
#2nd method handling missing values
data['IsActiveMember'].mean()
data['IsActiveMember'].head()
import numpy as np
data['IsActiveMember'].replace(np.NaN,data['IsActiveMember'].mean()).head()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16751269035532995, 'fraction_numerical': 0.01692047377326565, 'mean_word_length': 8.396825396825397, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '285734', 'license': 'Apache-2.0', 'n_tokens_mistral': 221, 'n_tokens_neox': 210, 'n_words': 35, 'path': 'ass2.ipynb', 'repo_name': 'SanjayMohanty-20/18CSE067', 'size': '591'}