Answers for "multiple column by number pandas"

3

multiply column of dataframe by number

#Multiply the values of column_name by 100
df.column_name.mul(100)
Posted by: Guest on August-06-2021
1

select multiple columns in pandas dataframe

df1 = df[['a', 'b']]
Posted by: Guest on August-25-2021

Code answers related to "multiple column by number pandas"

Python Answers by Framework

Browse Popular Code Answers by Language