Logo/

Data Cleaning and Jupyter Notebook Essentials

Log in

Made with ScholarlyMake flashcards like these from your own notes

Data Cleaning and Jupyter Notebook Essentials

Questions and answers

53 cards
  1. Question:Q1: Match the types of missingness with their definitions. — MCAR (Missing Completely At Random)

    Answer:Missingness is completely unrelated to any variable.

  2. Question:Q1: Match the types of missingness with their definitions. — MAR (Missing At Random)

    Answer:Missingness is related to other observed variables.

  3. Question:Q1: Match the types of missingness with their definitions. — MNAR (Missing Not At Random)

    Answer:Missingness is related to the unobserved value itself.

  4. Question:Q1: Match the types of missingness with their definitions. — Absolute Missingness

    Answer:Missingness is unrelated to any variable.

  5. Question:Q2: Empty cells in a dataset cannot cause any issues during analysis.

    Answer:False. Empty cells can cause issues during analysis.

  6. Question:Q3: Duplication can inflate counts, leading to _ of datasets.

    Answer:misleading interpretations

  7. Question:Q4: Removing duplicates is important to maintain data integrity and accurate analysis.

    Answer:True. Removing duplicates supports data integrity and accurate analysis.

  8. Question:Q5: Imputation methods can _ rather than dropping entire rows.

    Answer:fill in missing values

  9. Question:Q6: Data cleaning ensures that all datatypes are _ for analysis.

    Answer:consistent and validated

  10. Question:Q7: Which method is suitable for normalizing numerical data?

    Answer:Min-Max Scaling

  11. Question:Q8: Which function in pandas is used to detect duplicates in a DataFrame?

    Answer:duplicated()

  12. Question:Q9: The process of data cleaning involves correcting, removing, or imputing _ to ensure reliability.

    Answer:inaccurate or missing data

  13. Question:Q10: Data preprocessing is necessary before applying machine learning algorithms.

    Answer:True. Preprocessing is necessary before applying machine learning algorithms.

  14. Question:Q11: Which of the following is NOT a typical reason for data cleaning?

    Answer:To add additional records manually.

  15. Question:Q12: Match the data cleaning techniques with their descriptions. — Removing Rows

    Answer:Dropping whole entries when they contain errors or null values.

  16. Question:Q12: Match the data cleaning techniques with their descriptions. — Replacing Values

    Answer:Substituting erroneous values with appropriate ones.

  17. Question:Q12: Match the data cleaning techniques with their descriptions. — Data Imputation

    Answer:Filling in missing values using statistical methods.

  18. Question:Q12: Match the data cleaning techniques with their descriptions. — Standardization

    Answer:Adjusting values to a common scale.

  19. Question:Q13: Data cleaning can improve the accuracy of analysis results.

    Answer:True. Data cleaning can improve analysis accuracy.

  20. Question:Q14: What is one common method to fill missing values in a numerical dataset?

    Answer:Using the median value of the column.

  21. Question:Q15: It is preferable to fill missing values with the mean in all circumstances.

    Answer:False. Mean imputation creates bias when data has outliers or skewness.

  22. Question:Q16: Data cleaning is the process of correcting, removing, or imputing inaccurate or missing data so that the dataset becomes _ for analysis.

    Answer:valid

  23. Question:Q17: One of the main uses of Jupyter Notebooks in data science is for conducting _ (EDA).

    Answer:Exploratory Data Analysis

  24. Question:Q18: Anaconda is a distribution that simplifies package management and deployment for _ and _ programming languages.

    Answer:Python, R

  25. Question:Q19: Visual outputs in Jupyter Notebooks can include tables, charts, and _.

    Answer:graphs

  26. Question:Q20: Markdown in Jupyter Notebook is used for creating well-structured _ and notes.

    Answer:documentation / tables

  27. Question:Q21: Sessions in Google Colab can hold temporary files and _ that can be used during a notebook run.

    Answer:folders

  28. Question:Q22: The file format used for Jupyter Notebooks is _ which stands for interactive notebook.

    Answer:ipynb

  29. Question:Q23: To import datasets in Google Colab, one can access files from _ or session storage.

    Answer:Google Drive

  30. Question:Q24: Which Jupyter Notebook feature allows you to create plots directly within the notebook?

    Answer:Inline plotting with commands like plt.show()

  31. Question:Q25: Which of the following methods in pandas is used to fill missing values in a DataFrame?

    Answer:fillna()

  32. Question:Q26: In Jupyter Notebook, which library/extension is commonly used to create visualizations?

    Answer:Matplotlib

  33. Question:Q27: What does 'missingness at random' (MAR) indicate in the context of missing data?

    Answer:The missingness is related to other observed variables.

  34. Question:Q28: In Jupyter Notebook, which cell type is used for writing documentation or notes?

    Answer:Markdown (cell type for documentation and formatted text)

  35. Question:Q29: Which technique is primarily used to scale numerical features into a bounded range [0, 1]?

    Answer:MinMaxScaler

  36. Question:Q30: What action does the fillna() method perform when handling missing data in pandas?

    Answer:It replaces missing values with a specified value or method.

  37. Question:Q31: When visualizing data, which type of plot is best used for displaying the distribution of a single numerical variable?

    Answer:Histogram / Box Plot

  38. Question:Q32: What is the key characteristic of 'missing completely at random' (MCAR)?

    Answer:There is no systematic reason for the data to be missing.

  39. Question:Q33: What is the purpose of the duplicated() function in pandas?

    Answer:To identify duplicate rows in a DataFrame.

  40. Question:Q34: What file format represents a Jupyter Notebook?

    Answer:.ipynb

  41. Question:Q35: What is the definition of 'data preprocessing' in the context of machine learning?

    Answer:Cleaning, transforming, and preparing raw data into an understandable format for machine learning algorithms.

  42. Question:Q36: Which library in Python is most commonly used for data visualization?

    Answer:Matplotlib (along with Seaborn)

  43. Question:Q37: When importing data into Google Colab, what is a common method to access datasets stored on your local machine?

    Answer:Using the file upload dialogue / files module.

  44. Question:Q38: Which of the following is a technique for imputing missing values in numerical data?

    Answer:Using the mean or median of the column's values.

  45. Question:Q39: In data cleaning, what does the term 'duplicates' refer to?

    Answer:Rows or records that contain identical or highly redundant data.

  46. Question:Q40: What is the primary function of a Jupyter Notebook?

    Answer:To create an interactive coding environment that combines code execution, text, and visualizations in one document.

  47. Question:Q41: What common data cleaning step involves removing or fixing entries with incorrect data formats?

    Answer:Data formatting / Data type conversion

  48. Question:Q42: In a DataFrame, duplicated() detects redundant rows.

    Answer:True. duplicated() detects redundant rows in a DataFrame.

  49. Question:Q43: Transforming variables occurs during Exploratory Data Analysis.

    Answer:True. Transforming variables occurs during Exploratory Data Analysis.

  50. Question:Q44: Using standardization rescales feature distributions.

    Answer:True. Standardization rescales feature distributions.

  51. Question:Q45: Data encoding converts categorical variables to numerical format.

    Answer:True. Data encoding converts categorical variables to numerical format.

  52. Question:Q46: Categorical missing values can be filled using fillna() or mode.

    Answer:True. Categorical missing values can be filled using fillna() or mode.

  53. Question:Q47: The median value is preferred for imputing skewed data.

    Answer:True. The median is preferred for imputing skewed data.