NumPy اسئلة واجوبة المقابلات
سؤال 1. How to transpose a NumPy array?
You can use 'arr.T'. For example, 'transposed_arr = arr.T'.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 2. What is the purpose of 'np.arange()' in NumPy?
'np.arange()' creates an array with regularly spaced values within a specified range.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 3. How to find the mean of a NumPy array?
You can use 'np.mean()'. For example, 'mean_value = np.mean(arr)'.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 4. What is NumPy?
NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with mathematical functions to operate on these arrays.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
سؤال 5. How to install NumPy?
You can install NumPy using the command 'pip install numpy'.
هل هذا مفيد؟
اضف تعليقا
عرض التعليقات
الاكثر فائدة حسب تقييم المستخدمين:
- How to install NumPy?
- Create a NumPy array from a Python list.
- What is NumPy?
- What is the difference between 'np.zeros()' and 'np.ones()' in NumPy?
- What is the purpose of 'np.eye()' in NumPy?