code: def generate_batch(self, locations):
      out = csv_io()
      writer = csv.writer(out)
      writer.writerow(
          [
              "Id",
              "ReverseGeocodeRequest/Location/Latitude",
              "ReverseGeocodeRequest/Location/Longitude",
              "GeocodeResponse/Address/FormattedAddress",
              "GeocodeResponse/Address/Locality",
              "GeocodeResponse/Address/PostalCode",
              "GeocodeResponse/Address/AdminDistrict",
              "GeocodeResponse/Address/CountryRegion",
          ]
      )
  
      for idx, location in enumerate(locations):
          writer.writerow(
              [
                  idx,
                  location[0],
                  location[1],
                  None,
                  None,
                  None,
                  None,
                  None,
              ]
          )
  
      return csv_encode(
          "Bing Spatial Data Services, 2.0\n{}".format(out.getvalue())
      )
  
file_path: geocoder/geocoder/bing_batch_reverse.py
imports: from __future__ import absolute_import, print_function
  from geocoder.bing_batch import BingBatch, BingBatchResult
  import io
  import csv
  import sys
label_desc: Use image node_id 1 for calling the BingBatchReverse obj's underlying member method code with example usage: obj.generate_batch(locations) and returns: csv_encode