code: def test_column_access_without_slice(self):
      class Parent(DataSetFamily):
          extra_dims = [
              ("dim_0", {"a", "b", "c"}),
              ("dim_1", {"d", "e", "f"}),
          ]
  
          column_0 = Column("f8")
          column_1 = Column("?")
  
      class Child(Parent):
          column_2 = Column("O")
          column_3 = Column("i8", -1)
  
      def make_expected_msg(ds, attr):
          return dedent(
              """\
                  Attempted to access column {c} from DataSetFamily {d}:
  
                  To work with dataset families, you must first select a
                  slice using the ``slice`` method:
  
                      {d}.slice(...).{c}
                  """.format(
                  c=attr, d=ds
              ),  # noqa
          )
  
      expected_msg = make_expected_msg("Parent", "column_0")
      with assert_raises_str(AttributeError, expected_msg):
          Parent.column_0
  
      expected_msg = make_expected_msg("Parent", "column_1")
      with assert_raises_str(AttributeError, expected_msg):
          Parent.column_1
  
      expected_msg = make_expected_msg("Child", "column_0")
      with assert_raises_str(AttributeError, expected_msg):
          Child.column_0
  
      expected_msg = make_expected_msg("Child", "column_1")
      with assert_raises_str(AttributeError, expected_msg):
          Child.column_1
  
      expected_msg = make_expected_msg("Child", "column_2")
      with assert_raises_str(AttributeError, expected_msg):
          Child.column_2
  
      expected_msg = make_expected_msg("Child", "column_3")
      with assert_raises_str(AttributeError, expected_msg):
          Child.column_3
  
file_path: zipline/tests/pipeline/test_multidimensional_dataset.py
imports: from collections import OrderedDict
  import itertools
  from textwrap import dedent
  from nose_parameterized import parameterized
  import numpy
  from zipline.pipeline.data import Column, DataSetFamily, DataSetFamilySlice
  from zipline.testing import ZiplineTestCase
  from zipline.testing.predicates import assert_equal, assert_is, assert_is_not, assert_is_subclass, assert_raises_str
label_desc: Use image node_id 9 for calling the TestDataSetFamily obj's underlying member method code with example usage: obj.test_column_access_without_slice() and returns: dedent