@staticmethod
def string_to_type(x):
    """
        Method to return name of the data type
        :param x: input item
        :return: string
        """
    if type(x).__name__ == 'str':
        x = x.strip()
        try:
            val = int(x)
        except ValueError:
            try:
                val = float(x)
            except ValueError:
                try:
                    val = str(x)
                except:
                    val = None
        x = val
    return x
