Total Questions : 50
Expected Time : 50 Minutes

1. What does the `loc` function in Pandas allow you to do?

2. How can you select a specific column 'column_name' from a Pandas DataFrame 'df'?

3. In Pandas, how can you efficiently handle heavy-tailed distributions by applying a power transformation?

4. What is the purpose of the `resample()` method in Pandas?

5. How can you rename a column 'old_name' to 'new_name' in a Pandas DataFrame 'df'?

6. Which Pandas function is used to merge two DataFrames based on a common column?

7. How can you filter rows in a Pandas DataFrame 'df' where the column 'column_name' is equal to 10?

8. How can you convert a Pandas DataFrame to a NumPy array?

9. What does the Pandas function 'df.fillna()' do?

10. How can you sort a Pandas DataFrame 'df' by the values in the column 'column_name' in ascending order?

11. What is the purpose of the `pivot_table()` function in Pandas?

12. In Pandas, what method is used to drop missing values from a DataFrame?

13. How can you add a new column 'new_column' with values 1, 2, 3, ... N to a Pandas DataFrame 'df'?

14. What is the purpose of the `at_time()` method in Pandas?

15. Which Pandas method is used to pivot a DataFrame based on column values?

16. What is the purpose of the Pandas function 'df.drop_duplicates()'?

17. How can you handle duplicate rows in a Pandas DataFrame?

18. In Pandas, what is the purpose of the `nunique()` function?

19. What does the `mode()` function in Pandas calculate?

20. How do you rename a column in a Pandas DataFrame?

21. How do you check the data types of columns in a Pandas DataFrame?

22. What does the `pd.to_datetime()` function in Pandas do?

23. How can you calculate the median of a specific column 'column_name' in a Pandas DataFrame 'df'?

24. How can you handle outliers in a Pandas DataFrame?

25. In Pandas, how can you efficiently encode categorical variables using one-hot encoding with a specified prefix for column names?

26. What does the `filter()` function in Pandas allow you to do?

27. What is the purpose of the Pandas function 'df.mean()'?

28. In Pandas, how do you efficiently calculate a rolling window average for a specific column?

29. What does the `groupby()` function in Pandas allow you to do?

30. In Pandas, what is the purpose of the `nsmallest()` function?

31. What is the purpose of the `ffill()` and `bfill()` functions in Pandas?

32. In Pandas, what does the `isin()` method do?

33. Which Pandas function is used to calculate summary statistics of a DataFrame?

34. How can you find the number of unique values in a column 'column_name' in a Pandas DataFrame 'df'?

35. What does the Pandas function 'df.drop()' do?

36. How can you efficiently reshape a Pandas DataFrame by converting column values into separate columns with binary indicators?

37. What is the purpose of the Pandas function 'df.iloc[]'?

38. What does the Pandas function 'df.info()' provide?

39. What is the purpose of the `cummin()` function in Pandas?

40. Which Pandas function is used to perform element-wise mathematical operations on two DataFrames?

41. What does the `pd.cut()` function in Pandas allow you to do?

42. How can you efficiently handle imbalanced data in a classification problem using Pandas?

43. How do you efficiently calculate the pairwise correlation matrix for selected columns in a Pandas DataFrame?

44. How can you check the first few rows of a Pandas DataFrame 'df'?

45. How do you efficiently apply a function to elements in a specific column of a Pandas DataFrame?

46. What does the Pandas function 'df.groupby()' allow you to do?

47. In Pandas, what does the `explode()` function do?

48. How can you efficiently aggregate and count the occurrence of unique combinations in two columns of a Pandas DataFrame?

49. How do you perform multi-index sorting in a Pandas DataFrame?

50. How can you efficiently handle missing values in a Pandas DataFrame considering both forward and backward filling?