PySpark referenceClassesDataSourcenameOn this pagename (DataSource) Returns a string representing the format name of this data source. By default, it is the class name of the data source. It can be overridden to provide a customized short name for the data source. Syntax name() Returns str Examples Pythondef name(cls): return "my_data_source"