def METHOD_NAME():
    """Test the ``revert_nans_columns`` method."""
    # Setup
    data = pd.DataFrame({
        'a': [1, 2, 3, 2], 'b': [2.5, 2, 3, 2.5], 'c': [1, 2, 3, 2],
        'a#b#c.nan_component': ['b', 'a, c', 'None', 'a, b, c']
    })
    nan_column_name = 'a#b#c.nan_component'
    # Run
    result = revert_nans_columns(data, nan_column_name)
    expected_data = pd.DataFrame({
        'a': [1, np.nan, 3, np.nan], 'b': [np.nan, 2, 3, np.nan],
        'c': [1, np.nan, 3, np.nan]
    })
    # Assert
    pd.testing.assert_frame_equal(result, expected_data)