def create_vector(indexes, singularity):

        """

        This function creates a one hot vector for given indexes

        ...

        Attributes
        ----------

        indexes :List
            list containing indexes to be vectorized i.e 1

        singularity:List
            encoded list with feature length

        Returns
        -------

        evolve :List
            encoded list with selected features



        """

        evolve = singularity.copy()
        for index in indexes:
            evolve[index] = 1
        return evolve