how to change the data type of multiple columns to numeric selectively from a data frame in python?

前端 未结 0 479
别跟我提以往
别跟我提以往 2020-12-16 02:49

the columns 2020 to 2025 data types are object, how to change them into numeric?

df1:

|col1|col2|col3|2020|2021|2022|2023|2024|2025|colA|
|:--:|:--:|:-         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题