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 46. Explain the purpose of the stack() and unstack() functions in Pandas.

stack() is used to pivot the columns of a DataFrame to the rows. unstack() does the reverse operation.

Example:

df.stack()

Apakah ini membantu? Add Comment View Comments
 

Ques 47. What is the purpose of the to_excel() function in Pandas?

to_excel() is used to write a DataFrame to an Excel file.

Example:

df.to_excel('output.xlsx', index=False)

Apakah ini membantu? Add Comment View Comments
 

Ques 48. How do you calculate the correlation matrix for a Pandas DataFrame?

Use the corr() function. df.corr()

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.