old_contents: from geopandas import GeoDataFrame
  from pandas import DataFrame
  from shapely.geometry import Point
  
  
  def build_geojson(lats, lngs):
      coordinates = {
          'Latitude': lats,
          'Longitude': lngs
      }
  
      dataframe = DataFrame(coordinates)
      dataframe['Coordinates'] = list(zip(dataframe.Longitude, dataframe.Latitude))
      dataframe['Coordinates'] = dataframe['Coordinates'].apply(Point)
  
      return GeoDataFrame(dataframe, geometry='Coordinates')
  
new_contents: from pandas import DataFrame
  
  from cartoframes.utils.geom_utils import geodataframe_from_dataframe
  
  
  def build_geojson(lats, lngs):
      coordinates = {
          'latitude': lats,
          'longitude': lngs
      }
  
      dataframe = DataFrame(coordinates)
  
      return geodataframe_from_dataframe(dataframe)
  
subject: Improve build_geojson utility