from typing import Optional
from typing import Tuple


def data_row_name_append(data_rows: Optional[Tuple[Optional[int], Optional[int]]]) -> str:
    """String to name of data for selected rows only"""
    if data_rows is not None and not all(v is None for v in data_rows):
        return f':Rows[{data_rows[0]}:{data_rows[1]}]'
    else:
        return ''