Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 472 Bytes

to_dataframe.rst

File metadata and controls

24 lines (14 loc) · 472 Bytes

to_dataframe

.. py:function:: to_dataframe()
.. py:function:: Geopoints.to_dataframe()
   :noindex:

   Converts a :class:`Geopoints` into a Pandas dataframe.

   :rtype: Pandas dataframe


   :Example:

    .. code-block:: python

        import metview as mv

        gpt = mv.read("gpts.gpt") # returns a Geopoints
        df = gpt.to_dataframe()   # returns a Pandas Dataframe
        print(df.head())


.. mv-minigallery:: to_dataframe