1. What is the purpose of meshgrid in NumPy

    What is the purpose of meshgrid in NumPy

  2. How to convert the output of meshgrid to the corresponding array of points

    How to convert the output of meshgrid to the corresponding array of points