Useful Links
Computer Science
Data Science
NumPy Library
1. Introduction to NumPy
2. The NumPy ndarray Object
3. Data Types in NumPy
4. Array Creation Techniques
5. Indexing and Slicing
6. Array Manipulation and Reshaping
7. Universal Functions (ufuncs)
8. Array Aggregation and Statistics
9. Broadcasting
10. Linear Algebra Operations
11. Random Number Generation
12. File Input and Output
13. Advanced NumPy Features
14. NumPy Ecosystem Integration
15. Best Practices and Common Pitfalls
Data Types in NumPy
NumPy Data Type System
Type Hierarchy
Platform Dependencies
Integer Types
np.int8
np.int16
np.int32
np.int64
np.uint8
np.uint16
np.uint32
np.uint64
Floating Point Types
np.float16
np.float32
np.float64
np.longdouble
Complex Types
np.complex64
np.complex128
np.clongdouble
Other Types
np.bool_
np.object_
np.string_
np.unicode_
Type Casting and Conversion
astype() Method
Automatic Type Promotion
Safe vs. Unsafe Casting
Copy vs. View in Type Casting
Previous
2. The NumPy ndarray Object
Go to top
Next
4. Array Creation Techniques