Printing the information from dataframe on the page

I am new to python and plotly dash and didn’t found any any solution how to print the code

  `df = pd.read_csv("any.csv")
  
    x= df.columns
    print(*x, sep = ', ')
    

    children = [
    html.Details([
    html.H2('Overview'),
    html.H6("Columns:"+(x)+",   "),
    html.H6(f"Columns :{df.columns}"),
    html.H6((df.columns)+", "),

]

`
Every time this Columns gets repeated. What I want is that It print like Columns : Column1, Columns2, etc