Chapter 16: Data Science and Machine Learning with Python
Data Science with Python
import numpy as np
# Create an array
array = np.array([1, 2, 3, 4])
# Perform operations
print(array + 10) # Output: [11, 12, 13, 14]
print(np.mean(array)) # Output: 2.5Machine Learning with Python
Hands-On Exercises
Best Practices
Last updated