code: def from_vizier_table(cls, table_id, nside=256):
          
          nside_possible_values = (8, 16, 32, 64, 128, 256, 512)
          if nside not in nside_possible_values:
              raise ValueError('Bad value for nside. Must be in {0}'.format(nside_possible_values))
  
          result = cls.from_ivorn('ivo://CDS/' + table_id, nside)
          return result
docs: Creates a `~mocpy.moc.MOC` object from a VizieR table.
  
          **Info**: This method is already implemented in `astroquery.cds <https://astroquery.readthedocs.io/en/latest/cds/cds.html>`__. You can ask to get a `mocpy.moc.MOC` object
          from a vizier catalog ID.
  
          Parameters
          ----------
          table_id : str
              table index
          nside : int, optional
              256 by default
  
          Returns
          -------
          result : `~mocpy.moc.MOC`
              The resulting MOC.