Horje
get int64 column pandas Code Example
get int64 column pandas
# Use select_dtypes with np.number for select all numeric columns:
cols = [df.select_dtypes([np.number]).columns]
print (list(cols))

# Here is possible specify float64 and int64:
cols = [df.select_dtypes([np.int64,np.float64]).columns]
print (cols)




Python

Related
discord.py get user input Code Example discord.py get user input Code Example
primary key django model Code Example primary key django model Code Example
how to use tensorboard Code Example how to use tensorboard Code Example
getting dummies for a column in pandas dataframe Code Example getting dummies for a column in pandas dataframe Code Example
redis get all keys and values python Code Example redis get all keys and values python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6