Hello, Is there a way to change the data frame row (index) and column name text color? Additionally, how do I change the width of the data frame?
df_count=df["ACIKLAMA"].value_counts(ascending=False).to_frame()
df_count.columns=["count_of_purchase/campaign"]
max_purchasing=df_count.iloc[0:1]
max_purchasing.rename(columns = {'count_of_purchase/campaign':'max_count_of_purchase/campaign'}, inplace = True)
#print("max number of purchasing/campaign frequency:\n\n",max_purchasing)
# only valid for values
st.markdown('<style>div[class="css-o1jpvw e19lei0e1"] { color: black; background:white;font-weight: normal; } .data:hover{ background:cyan;)}</style>', unsafe_allow_html=True)
# this is not working
st.dataframe(max_purchasing,height=1000,width=390)