Fundamentals of Data Science

  1. Creating a NumPy Array
    1. Basic ndarray
    2. Array of zeros
    3. Array of ones
    4. Random numbers in ndarray
    5. An array of your choice
    6. Imatrix in NumPy
    7. Evenly spaced ndarray

    Click Here for Solution

  2. The Shape and Reshaping of NumPy Array
    1. Dimensions of NumPy array
    2. Shape of NumPy array
    3. Size of NumPy array
    4. Reshaping a NumPy array
    5. Flattening a NumPy array
    6. Transpose of a NumPy array

    Click Here for Solution

  3. Expanding and Squeezing a NumPy Array

    1. Expanding a NumPy Array
    2. Squeezing a NumPy Array
    3. Sorting in NumPy Arrays

    Click Here for Solution

  4. Slicing of NumPy Array

    1. Slicing 1-D NumPy Arrays
    2. Slicing 2-D NumPy Arrays
    3. Slicing 3-D NumPy Arrays
    4. Negative Slicing of NumPy Arrays

    Click Here for Solution

  5. Stacking and Concatenating Numpy Arrays

    1. Stacking ndarrays
    2. Concatenating ndarrays

    Click Here for Solution

  6. Write a NumPy program that changes the type of array.

    Click Here for Solution

  7. Write a NumPy program that compare two arrays.

    Click Here for Solution

  8. Write a Numpy program to calculate column-wise sum of a given matrix.

    Click Here for Solution

  9. Write a NumPy program to calculate mean of array by ignoring NaN.

    Click Here for Solution

  10. Pandas DataFrame operations

    1. Creating DataFrame
    2. Concatenate of DataFrames
    3. Setting Conditions
    4. Adding a New Column

    Click Here for Solution

  11. Perform following operations using Pandas

    1. Filling NaN with String
    2. Sorting based on column values
    3. groupby()

    Click Here for Solution

  12. Read the following file formats using Pandas.

    1. Text Files
    2. CSV Files
    3. Excel Files
    4. JSON Files

    Click Here for Solution

  13. Write a Python program that can perform verious operations on MongoDB.

    Click Here for Solution

  14. Demonstrate web scraping using Python.

    Click Here for Solution