I would like to plot a graph using python showing variables on X/Y axis after applying MCA. I tried this code but returns the following error:
AttributeError: 'DataFrame' object has no attribute 'plot_coordinates'
This is the code:
ax = mca.plot_coordinates(
X=X,
ax=None,
figsize=(6, 6),
show_row_points=True,
row_points_size=10,
show_row_labels=False,
show_column_points=True,
column_points_size=30,
show_column_labels=False,
legend_n_cols=1)
Can anyone help please?
Thanks,
mca? Apandas.DataFrameobject? The error is accurate;pandas.DataFramedoesn't have an attributeplot_coordinates.type(mca)?