Learning_NumPy_and_pandas
Learning_NumPy_and_pandas
Purpose: Work with numerical data using arrays (faster and more efficient than Python lists).
Key Concepts:
1. Creating Arrays:
import numpy as np
# 1D array
# 2D array
2. Basic Operations:
3. Useful Functions:
np.mean(arr) # Average
Key Concepts:
2. Creating a DataFrame:
import pandas as pd
df = pd.DataFrame(data)
print(df)
4. Basic Operations:
5. Common Functions:
Learning NumPy and pandas