6 lines
185 B
Python
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
|