2024-05-27 19:16:14 +03:00

6 lines
185 B
Python

def stats(feature1, feature2, df):
import plotly.express as px
fig = px.scatter(df, x=feature1, y=feature2, color='Churn')
fig = fig.to_html(full_html=False)
return fig