Data Science, Python, Data Analysis, Data Analytics, Data.
columns df['Age'] = df['Age'].astype(float) 2.16 Rename Columns # Renaming columns df.rename(columns={'Salary': 'MonthlySalary'}, inplace=True) 2.17 Cumulative Sum # Calculating cumulative sum of a column df['CumulativeSalary'] = df['MonthlySalary'].cumsum() 2.18 String Operations # String