title: Classes with multiple attribute levels [Beginner]
body: <p>Does python have a similar functionality with its data structure similar to what can be seen in MATLAB?</p>
  
  <p>For example, being able to call a class similar to what follows:</p>
  
  <pre><code>variable = Class(inputs)
  </code></pre>
  
  <p>would allow to call <em>variable</em> with multiple attributes (not sure if attributes is the correct terminology here).</p>
  
  <pre><code>variable.attribute1.attribute2
  </code></pre>
  
  <p>In other words, defining a Class would provide the functionality of these multiple attributes.  I am only seeking documentation if such functionality exists.</p>
  
  <p>I'll add a little example because my question is quite vague.
  So, I'll define a class that assigns data sets to a variable.</p>
  
  <pre><code>class Properties(object):
  
      def __init__(self, data_set1, data_set2):
          self.Data1 = data_set1
          self.Data2 = data_set2
  </code></pre>
  
  <p>Now, I'll define a variable.</p>
  
  <pre><code>variable = Properties([1, 2, 3, 7], [3, 9, 2, 8])
  </code></pre>
  
  <p>Obviously now I can call variable with its individual data sets as:</p>
  
  <pre><code>variable.Data1
  variable.Data2
  </code></pre>
  
  <p>What I desire is to have another Class that will be able to then define Statistical properties of the sets, such as:</p>
  
  <pre><code>variable.Data1.Maximum
  variable.Data1.Minimum
  variable.Data2.StandardDev
  </code></pre>