What is the primary purpose of the "merge" function in Pandas?
A. Aggregate data
B. Sort data
C. Combine DataFrames
D. Group data
Select an option to see the answer and solution.
In Python, which library provides tools for working with complex data structures and data manipulation, often used for data analysis in the financial sector?
A. Seaborn
B. Dask
C. Matplotlib
D. None of the above
Select an option to see the answer and solution.
Which Python library is commonly used for creating interactive data dashboards and reports for data analysis and visualization?
A. Panel
B. Pandas
C. Seaborn
D. Bokeh
Select an option to see the answer and solution.
What is the primary purpose of the "stack" method in Pandas?
A. Group data
B. Sort data
C. Aggregate data
D. Reshape data
Select an option to see the answer and solution.
In Python, which library provides tools for working with graph data structures and performing graph analysis tasks?
A. Pandas
B. Seaborn
C. NetworkX
D. Statsmodels
Select an option to see the answer and solution.
In Pandas, which method is used to calculate the mode of a numerical column in a DataFrame?
A. sum()
B. mode()
C. median()
D. None of the above
Select an option to see the answer and solution.
Which Python library is commonly used for data preprocessing tasks, such as feature scaling and transformation in machine learning?
A. Matplotlib
B. Numpy
C. Scikit-learn
D. Pandas
Select an option to see the answer and solution.
What is the primary purpose of the "groupby" method in Pandas when working with categorical data?
A. Sorting data
B. Filtering data
C. Reshaping data
D. Grouping and aggregating data
Select an option to see the answer and solution.
In Python, which library is commonly used for web scraping and extracting data from websites?
A. BeautifulSoup
B. Pandas
C. Seaborn
D. Matplotlib
Select an option to see the answer and solution.
What Python function is used to create a new column in a Pandas DataFrame based on the values of existing columns?
A. pd.read_csv()
B. np.array()
C. plt.plot()
D. df['new_column'] = ...
Select an option to see the answer and solution.
In Pandas, what method is used to remove duplicate rows from a DataFrame based on specified columns?
A. dropna()
B. fillna()
C. drop_duplicates()
D. groupby()
Select an option to see the answer and solution.
Which Python library is commonly used for time series forecasting and anomaly detection tasks?
A. Statsmodels
B. Seaborn
C. Prophet
D. Pandas
Select an option to see the answer and solution.
What is the primary purpose of the "pivot" method in Pandas?
A. Aggregate data
B. Sort data
C. Group data
D. Reshape data
Select an option to see the answer and solution.
In Python, which library is often used for natural language processing (NLP) tasks such as text tokenization and part-of-speech tagging?
A. NLTK
B. Pandas
C. Seaborn
D. Scikit-learn
Select an option to see the answer and solution.
Which Python library is commonly used for data visualization and exploration with a focus on producing informative statistical graphics?
A. Matplotlib
B. Seaborn
C. Pandas
D. ggplot
Select an option to see the answer and solution.
What is the primary purpose of the "crosstab" function in Pandas?
A. Data cleaning and preprocessing
B. Data visualization
C. Cross-tabulation of categorical data
D. Data transformation
Select an option to see the answer and solution.
In Python, which library provides tools for working with complex and hierarchical data structures, often used in scientific computing?
A. Seaborn
B. Xarray
C. Dask
D. None of the above
Select an option to see the answer and solution.
Which Python library is commonly used for working with SQL databases and performing SQL-like operations on dataframes?
A. SQLalchemy
B. SQLite
C. Pandas SQL
D. Pandas
Select an option to see the answer and solution.
What is the primary purpose of the "fillna" method in Pandas?
A. Remove duplicates
B. Group data
C. Sort data
D. Fill missing values
Select an option to see the answer and solution.
In Python, which library is often used for deep learning tasks, including neural network construction and training, with a focus on simplicity and flexibility?
A. Numpy
B. Keras
C. TensorFlow
D. None of the above
Select an option to see the answer and solution.