open_in_new
content_copy
table_name = "my_table" query_df = spark.sql(f"SELECT * FROM {table_name}")