I have a Pandas
dataframe which has 4 columns. 2 columns have float64
type. The others have int
type. I want to input them to LSTM
layers. I need the data types be kept as they are. But when I use dataframe.values
to convert them to Numpy array
, the dataset data type changed to float64
. How can I keep the data type as what they are?
(2 columns: float64
, 2 columns:int
)