You have a dataset with 15 features and you want to visualize it on a 2D plot for exploratory data analysis. What would be the first step in using PCA (Principal Component Analysis) to achieve this?
You are working on a project that requires real-time data collection from a WebSocket API. Which of the following Python libraries would be most appropriate for this task?
You are a data analyst who needs to collect large volumes of data from a RESTful API that has pagination implemented. Which Python code snippet would be the most effective way to gather all the available data?
You are tasked with merging two datasets, df1 and df2, on a common column 'id'. df1 has a column 'value1' and df2 has a column 'value2'. After merging, you need to create a new column called 'total_value' that sums 'value1' and 'value2'. Which of the following code snippets accomplishes this?