How to save a vertex data in 2D numpy array into a text vtk file in Python?

Dear VTK experts:

I have a mesh vertex data which is in 2D numpy array format, how could I save it into a text vtk file in Python? Sorry I am very new to VTK .

Thanks.

The pvyvtk package might have what you need (pip install pyvtk).