<jupyter_start><jupyter_text>Adding Two Series Values Using Arithemetic Operations<jupyter_code>import pandas as pd
A=pd.Series([7,8,6],index=[2,3,4])
B=pd.Series([5,3,9],index=[1,2,3])
C=A+B
print(C)<jupyter_output>1     NaN
2    10.0
3    17.0
4     NaN
dtype: float64<jupyter_text>Adding Using Object Method<jupyter_code>import pandas as pd
A=pd.Series([7,8,6],index=[2,3,4])
B=pd.Series([5,3,9],index=[1,2,3])
C=A.add(B,fill_value=0)
print(C)<jupyter_output>1     5.0
2    10.0
3    17.0
4     6.0
dtype: float64<jupyter_text>Sum,Max,Min in Missing value array<jupyter_code>import numpy as np
ab=np.array([12,4,7,np.nan,0,1])
ab.min(),ab.max(),ab.sum()<jupyter_output><empty_output><jupyter_text>Ignoring Missing Values And Performing Operations<jupyter_code>import numpy as np
ab=np.array([12,4,7,np.nan,0,1])
np.nansum(ab),np.nanmin(ab),np.nanmax(ab)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17381489841986456, 'fraction_numerical': 0.07336343115124154, 'mean_word_length': 7.0636363636363635, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '218056', 'license': 'CNRI-Python', 'n_tokens_mistral': 421, 'n_tokens_neox': 401, 'n_words': 61, 'path': 'Python + Machine Learning + Deep Learning/References/Yogesh Notes/Ignoring the missing values and proceeding for the operations .ipynb', 'repo_name': 'MJ029/Notes', 'size': '886'}