Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Python Pandas Pertanyaan dan Jawaban Wawancara

Ques 41. What is the purpose of the crosstab() function in Pandas?

crosstab() computes a simple cross-tabulation of two (or more) factors.

Example:

pd.crosstab(df['factor1'], df['factor2'])

Apakah ini membantu? Add Comment View Comments
 

Ques 42. How do you apply a custom function to each element in a Pandas DataFrame?

Use the applymap() function. df.applymap(my_function)

Apakah ini membantu? Add Comment View Comments
 

Ques 43. Explain the concept of method chaining in Pandas.

Method chaining is a way of applying multiple operations on a DataFrame in a single line of code.

Example:

df.dropna().mean()

Apakah ini membantu? Add Comment View Comments
 

Ques 44. What is the purpose of the pipe() function in Pandas?

pipe() is used to apply a function to a DataFrame using method chaining.

Example:

df.pipe(my_function).dropna()

Apakah ini membantu? Add Comment View Comments
 

Ques 45. How can you create a Pandas DataFrame from a dictionary of Series or dictionaries?

Use the pd.DataFrame() constructor. df = pd.DataFrame({'column1': series1, 'column2': series2})

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.