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 11. How can you apply a function to each element in a DataFrame?

Use the apply function. df.apply(my_function)

Apakah ini membantu? Add Comment View Comments
 

Ques 12. What is the purpose of the melt function in Pandas?

melt is used to transform wide-format data to long-format data.

Example:

pd.melt(df, id_vars=['id_column'], value_vars=['value_column'])

Apakah ini membantu? Add Comment View Comments
 

Ques 13. Explain the concept of broadcasting in Pandas.

Broadcasting is the ability of NumPy and Pandas to perform operations on arrays or DataFrames of different shapes.

Apakah ini membantu? Add Comment View Comments
 

Ques 14. How can you rename columns in a Pandas DataFrame?

Use the rename function. df.rename(columns={'old_name': 'new_name'})

Apakah ini membantu? Add Comment View Comments
 

Ques 15. What is the purpose of the concat function in Pandas?

concat is used to concatenate DataFrames along a particular axis.

Example:

pd.concat([df1, df2], axis=1)

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.