Numpy Pandas Task
Numpy Pandas Task
Machine test
1)create a 1D array and slice array1 from index 3 up to the last element?
3) Use reshape() to Convert 1-D Array to a 2-D Array?
qns
4)What is NumPy array slicing?
5)Can I slice with negative indices?
6)How do I slice a 2D array?
7)Use Joining the Two Arrays along Axis = 1
8)How can you concatenate two NumPy arrays horizontally and vertically?
9)What is the purpose of the NumPy dtype attribute?
10)Discuss the purpose of the NumPy axis parameter in array operations?
Pandas
Machine test
1)Show two different ways to create a pandas DataFrame?
3) How would you iterate over rows in a DataFrame in Pandas,give an example?
qns
4)How do you access the top 6 rows and last 7 rows of a pandas DataFrame?
5)What is the difference between Series and DataFrame?
6)What is an index in pandas?
7) What is the difference between Concat and Merge methods in pandas?
8)What is Resampling?
9)How will you sort a DataFrame?
10)How to reset the index in a Python Pandas DataFrame?