Example for object type is added

pull/471/head
Rupa-Rd 2024-05-20 22:48:00 +05:30
rodzic 722d34de63
commit 26a0dc814d
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -168,7 +168,18 @@ The `datetime64()` is used to define the date, month and year.
## Example for string type
## Example for object type
``` python
import numpy as np
arr = np.object_([1, 2, 3, 4])
print(arr)
print(arr.dtype)
# Output:
# [1, 2, 3, 4]
# object
```
## Example for unicode string type
## Example for timedelta type