Menu
Horje
Hi !
Welcome,
Guest
Close Menu
Home
Coding
Code Example
Download
Home
Coding
Code Example
Replace all spacec column with underscore in pandas Code Example
replace all spacec column with underscore in pandas
import pandas as pd # remove spaces in columns name df.columns = df.columns.str.replace(' ','_')
Next
Previous
Python
Related
how to update a module in python Code Example
pandas add dataframe to the bottom of another Code Example
pandas remove char from column Code Example
pandas remove timezone info Code Example
django get user model funciton Code Example
Type
:
Code Example
Category
:
Coding
Sub Category
:
Code Example
Uploaded by
:
Admin
Views
:
7