Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

renomear colunas pandas

df = df.rename(columns={'nome': 'nome_completo'})
#ou
df.rename(columns={'nome': 'nome_completo'}, inplace = True)
Comment

PREVIOUS NEXT
Code Example
Python :: python print how long it takes to run 
Python :: remove unicode characters from string python 
Python :: convert epoch to date time in python 
Python :: how to minimize tkinter window 
Python :: filter by row contains pandas 
Python :: python levenshtein distance 
Python :: pandas_datareader 
Python :: python get ip from hostname 
Python :: plotly set axes limits 
Python :: first position dict python 
Python :: how to calculate running time in python 
Python :: get files in directory python 
Python :: get last year of today python 
Python :: python get current number of threads 
Python :: pandas rename column 
Python :: fill missing values in column pandas with mean 
Python :: how to add list item to text file python 
Python :: pyton read text file 
Python :: save list python 
Python :: what happen when we apply * before list in python 
Python :: python requests wait for page to load 
Python :: covariance matrix python 
Python :: python install module from script 
Python :: seaborn create a correlation matrix 
Python :: python RuntimeWarning: overflow encountered in long_scalars 
Python :: django integer field example 
Python :: python get dir 
Python :: python dockerfile 
Python :: tqdm notebook 
Python :: python exit button 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =