I need to make a LEFT JOIN (using a Python QGIS script) between two layers:
- a shape (point): s_node
- a csv (table): t_infos
Can you show me how to do that?
The result (the joined layers) has to be in a separated/new/virtual layer.
My QGIS version: 3.12.3-Bucuresti

layer = QgsProject.instance().mapLayersByName("layer_name")[0]if your layer is already in the project.layer = iface.addVectorLayer("path_to_your_layer", '', 'ogr')if the layer is not in the project. Then you can use one of the script by German Carillo in this post : https://gis.stackexchange.com/questions/133573/joining-table-field-with-shapefile-using-pyqgis?rq=1 – JULESG Dec 06 '21 at 07:44