girs.feat.layers.LayersSet.join

LayersSet.join(this_fieldname, other, other_fieldname, target=None, this_layer_number=0, other_layer_number=0)

Return a LayerWriter with joined features

The (other) features to append to this features may be:

1- a pandas DataFrame or Series 2- a LayerSet 3- a source (file name): a LayerReader instance will be created
In the last two cases:
  • the layer number of the LayerSet/LayerReader can be set with other_layer_number
  • the geometry will be removed from the DataFrame/Series
Parameters:
  • this_fieldname (str) – field name in this LayersSet to be used to join to the other object
  • other (pandas.DataFrame, pandas.Series, LayerSet, or LayersReader file name) – data to be joined to this LayersSet
  • other_fieldname (str) – field name used to join to this LayersSet
  • target (str) – target
  • this_layer_number (int) – layer number of this LayerSet (default 0)
  • other_layer_number (int) – layer number of other LayerSet (default 0)
Returns:

Return type: