code: def test_encoded_data(self):
      self.pipeline = tests.mocks.pipelines.Users()
      self.pipeline.subsample = 50
      self.pipeline.connection.execute(
          "drop table if exists {name}".format(
              name=self.pipeline.table_training + "_random"
          )
      )
      self.assertEqual(
          len(
              pandas.concat(
                  [
                      chunk.x
                      for chunk in self.pipeline.encoded_training_data
                  ]
              )
          ),
          40,
      )
      self.assertEqual(
          len(
              pandas.concat(
                  [
                      chunk.x
                      for chunk in self.pipeline.encoded_validation_data
                  ]
              )
          ),
          5,
      )
      self.assertEqual(
          len(
              pandas.concat(
                  [chunk.x for chunk in self.pipeline.encoded_test_data]
              )
          ),
          5,
      )
  
file_path: lore/tests/unit/test_pipelines.py
imports: from __future__ import generators
  import unittest
  import pandas
  import tests.mocks.pipelines
label_desc: Use image node_id 7 for calling the TestLowMemory obj's underlying member method code with example usage: obj.test_encoded_data() without return types