title: AttributeError: 'Float' object has no attribute 'time'
body: <p>I am currently getting this error in my code</p>
  
  <blockquote>
    <p>AttributeError: 'Float' object has no attribute 'time'</p>
  </blockquote>
  
  <p>I have not seen an exact instance to mine I have seen some changes to dtype=object but I am unsure how to implement that and why I would need to. This is a pretty straight forward function.</p>
  
  <pre><code>import time
  
  class lastCycle():
      def __init__(self):
          self.lastTime = time.time()
          self.time = 0.0
  
      def timer(self, time):
          if (time.time() - self.lastTime) &gt; self.time:
              self.lastTime = time.time()
              return True
          else:
              return False
  
  statusUpdate = lastCycle().timer(1.0)
  </code></pre>