Associate Consultant 1

Associate Consultant 1 Interview Questions and Answers

Updated 15 Jul 2025

Asked in EXL Service

2d ago

Q. How do you add and remove columns from a Pandas DataFrame?

Ans.

To add or remove columns from a pandas dataframe, we can use the 'drop' and 'insert' methods.

  • To remove a column, we can use the 'drop' method with the 'axis' parameter set to 1.

  • To add a column, we can simply assign a new column to the dataframe with a name and values.

  • To insert a column at a specific position, we can use the 'insert' method with the index and column name.

  • We can also rename columns using the 'rename' method.

Asked in TCS

5d ago

Q. What are the differences between Lists and Tuples?

Ans.

Lists are mutable while Tuples are immutable.

  • Lists use square brackets [] while Tuples use parentheses ().

  • Lists can be modified while Tuples cannot be modified.

  • Lists are used for homogenous items while Tuples are used for heterogenous items.

  • Lists are slower than Tuples.

  • Example of List: my_list = [1, 2, 3]

  • Example of Tuple: my_tuple = (1, 'hello', 3.4)

Are these interview questions helpful?
Associate Consultant 1 Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits