Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

group your data columns by their data types

grouped = df.groupby(df.dtypes, axis = 1)

for dtype, group in grouped:
    print(dtype)
    print(group)
 
PREVIOUS NEXT
Tagged: #group #data #columns #data #types
ADD COMMENT
Topic
Name
3+2 =