Python Pandas اسئلة واجوبة المقابلات
سؤال 1. What is Pandas in Python?
Pandas is an open-source data manipulation and analysis library for Python.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 2. How do you import the Pandas library?
import pandas as pd
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 3. Explain the DataFrame in Pandas.
A DataFrame is a 2-dimensional labeled data structure with columns that can be of different types. It is similar to a spreadsheet or SQL table.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 4. How do you create a DataFrame in Pandas?
pd.DataFrame(data)
Example:
df = pd.DataFrame({'column1': [1, 2, 3], 'column2': ['a', 'b', 'c']})
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 5. What is the difference between loc and iloc in Pandas?
loc is label-based indexing, and iloc is integer-based indexing.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
الاكثر فائدة حسب تقييم المستخدمين:
- What is Pandas in Python?
- How do you select specific columns from a DataFrame?
- How do you import the Pandas library?
- How can you apply a function to each element in a DataFrame?
- How can you rename columns in a Pandas DataFrame?