df_extensions/space.py
def raincloud(
        self,
        column: str,
        one_value: Optional[str] = None,
        groups: Optional[str] = "Cluster",
        use_source: bool = True,
    ):
        """
        raincloud plot of a variable, grouped by different clusters

        """
        k = self.k
        if use_source:
            df = self.source_df.copy()
        else:
            df = self.df
        df["Cluster"] = self.get_cluster_labels()
        df.viz.raincloud(
            values=column,
            groups=groups,
            one_value=one_value,
            title=f"Raincloud plot for {column} variable.",
        )

        raincloud plot of a variable, grouped by different clusters

        
raincloud plot of a variable, grouped by different clusters
raincloud plot of a variable grouped by different clusters
def raincloud(
        self,
        column: str,
        one_value: Optional[str] = None,
        groups: Optional[str] = "Cluster",
        use_source: bool = True,
    ):
        k = self.k
        if use_source:
            df = self.source_df.copy()
        else:
            df = self.df
        df["Cluster"] = self.get_cluster_labels()
        df.viz.raincloud(
            values=column,
            groups=groups,
            one_value=one_value,
            title=f"Raincloud plot for {column} variable.",
        )
def raincloud ( self , column : str , one_value : Optional [ str ] = None , groups : Optional [ str ] = "Cluster" , use_source : bool = True , ) : k = self . k if use_source : df = self . source_df . copy ( ) else : df = self . df df [ "Cluster" ] = self . get_cluster_labels ( ) df . viz . raincloud ( values = column , groups = groups , one_value = one_value , title = f"Raincloud plot for {column} variable." , )
raincloud plot of a variable, grouped by different clusters
raincloud plot of a variable grouped by different clusters
"""
        raincloud plot of a variable, grouped by different clusters

        """
self
column
str
one_value
Optional[str]
groups
Optional[str]
use_source
bool