Creating variables#
Learning Objectives#
After working through this topic, you should be able to:
- Assign new columns to a DataFrame 
- Explain why loops over columns are harmless and loops over rows have to be avoided 
- Use vectorized calculations between numeric columns 
- Use vectorized string methods 
- Combine information from two columns based on conditions 
- Replace values in variables 
Materials#
Video:
Download the slides.
