I can clearly see an argument named dtype in numpy documentation.
What I can't do, is this:
np.concatenate((np.array([]),np.array([3,4])),dtype=np.int64)
Which gives this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<__array_function__ internals>", line 4, in concatenate
TypeError: concatenate() got an unexpected keyword argument 'dtype'
Without the dtype argument I get this array:
>>> np.concatenate((np.array([]),np.array([3,4])))
array([3., 4.])
But I don't want those to be decimal points (float) values.
Why can't I use the dtype argument?
How to make it int on concatenation even if my initial arrays had let's say float values?