# Pandas Basics (Data Science & ML) > DataFrames, Series, indexing, selection, filtering, missing values, data types - 22 interview questions - Junior - [Interview Questions: Data Science & ML](https://sharpskill.dev/en/technologies/data-science/interview-questions.md) ## 1. What is the main Pandas data structure for storing tabular data with named rows and columns? **Answer** The DataFrame is Pandas' central data structure, designed to store two-dimensional tabular data. Each column can contain a different data type, and both rows and columns have labels (index). This structure is similar to an Excel spreadsheet or SQL table, making it easy to manipulate structured data. ## 2. Which Pandas structure represents a single column of data with an index? **Answer** A Series is a one-dimensional structure that can hold any data type (integers, strings, floats, Python objects). Each element has an associated index, allowing access to values by their label. A column extracted from a DataFrame is automatically converted to a Series. ## 3. How to create a DataFrame from a Python dictionary where keys become column names? **Answer** The pd.DataFrame() function directly accepts a Python dictionary. Dictionary keys automatically become column names, and values (lists or arrays) become each column's data. This method is the most common way to create DataFrames from structured data in Python. ## 19 more questions available - Which method should be used to read a CSV file and load it into a DataFrame? - Which method displays the first rows of a DataFrame for a quick data preview? Sign up for free: https://sharpskill.dev/en/login ## Other Data Science & ML interview topics - [Python Basics](https://sharpskill.dev/en/technologies/data-science/interview-questions/python-basics.md): 25 questions, Junior - [Python Object-Oriented Programming](https://sharpskill.dev/en/technologies/data-science/interview-questions/python-oop.md): 20 questions, Junior - [Python Data Structures](https://sharpskill.dev/en/technologies/data-science/interview-questions/python-data-structures.md): 20 questions, Junior - [Git Fundamentals](https://sharpskill.dev/en/technologies/data-science/interview-questions/git-fundamentals.md): 18 questions, Junior - [SQL Basics](https://sharpskill.dev/en/technologies/data-science/interview-questions/sql-basics.md): 20 questions, Junior - [NumPy Fundamentals](https://sharpskill.dev/en/technologies/data-science/interview-questions/numpy-fundamentals.md): 22 questions, Junior - [Jupyter & Google Colab](https://sharpskill.dev/en/technologies/data-science/interview-questions/jupyter-colab.md): 16 questions, Junior - [SQL Joins & Advanced Queries](https://sharpskill.dev/en/technologies/data-science/interview-questions/sql-joins-advanced.md): 22 questions, Mid-Level - [Advanced Pandas](https://sharpskill.dev/en/technologies/data-science/interview-questions/pandas-advanced.md): 24 questions, Mid-Level - [Visualization with Matplotlib & Seaborn](https://sharpskill.dev/en/technologies/data-science/interview-questions/matplotlib-seaborn.md): 20 questions, Mid-Level - [Interactive Visualizations with Plotly](https://sharpskill.dev/en/technologies/data-science/interview-questions/plotly-interactive.md): 18 questions, Mid-Level - [Descriptive Statistics](https://sharpskill.dev/en/technologies/data-science/interview-questions/statistics-descriptive.md): 20 questions, Mid-Level - [Inferential Statistics](https://sharpskill.dev/en/technologies/data-science/interview-questions/statistics-inferential.md): 24 questions, Mid-Level - [Web Scraping](https://sharpskill.dev/en/technologies/data-science/interview-questions/web-scraping.md): 18 questions, Mid-Level - [BigQuery & Cloud Data](https://sharpskill.dev/en/technologies/data-science/interview-questions/bigquery-cloud.md): 18 questions, Mid-Level - [Feature Engineering](https://sharpskill.dev/en/technologies/data-science/interview-questions/feature-engineering.md): 22 questions, Mid-Level - [Supervised ML: Regression](https://sharpskill.dev/en/technologies/data-science/interview-questions/ml-supervised-regression.md): 24 questions, Mid-Level - [Supervised ML: Classification](https://sharpskill.dev/en/technologies/data-science/interview-questions/ml-supervised-classification.md): 24 questions, Mid-Level - [Decision Trees & Ensembles](https://sharpskill.dev/en/technologies/data-science/interview-questions/ml-trees-ensembles.md): 24 questions, Mid-Level - [Unsupervised ML](https://sharpskill.dev/en/technologies/data-science/interview-questions/ml-unsupervised.md): 22 questions, Mid-Level - [ML Pipelines & Validation](https://sharpskill.dev/en/technologies/data-science/interview-questions/ml-pipelines-validation.md): 22 questions, Mid-Level - [Time Series & Forecasting](https://sharpskill.dev/en/technologies/data-science/interview-questions/time-series-forecasting.md): 22 questions, Mid-Level - [Deep Learning Fundamentals](https://sharpskill.dev/en/technologies/data-science/interview-questions/deep-learning-fundamentals.md): 24 questions, Senior - [TensorFlow & Keras](https://sharpskill.dev/en/technologies/data-science/interview-questions/tensorflow-keras.md): 22 questions, Senior - [CNN & Image Classification](https://sharpskill.dev/en/technologies/data-science/interview-questions/cnn-image-classification.md): 24 questions, Senior - [RNN & Sequences](https://sharpskill.dev/en/technologies/data-science/interview-questions/rnn-sequences.md): 22 questions, Senior - [Transformers & Attention](https://sharpskill.dev/en/technologies/data-science/interview-questions/transformers-attention.md): 24 questions, Senior - [NLP & Hugging Face](https://sharpskill.dev/en/technologies/data-science/interview-questions/nlp-huggingface.md): 24 questions, Senior - [GenAI & LangChain](https://sharpskill.dev/en/technologies/data-science/interview-questions/genai-langchain.md): 24 questions, Senior - [MLOps & Deployment](https://sharpskill.dev/en/technologies/data-science/interview-questions/mlops-deployment.md): 24 questions, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/en/technologies/data-science/interview-questions/pandas-basics