Memory Usage

This transform returns the memory usage of each column in bytes.

tags: [“EDA”]

Parameters

The table gives a brief description about each parameter in Memory Usage transform.

Name:

By default, the transform name is populated. You can also add a custom name for the transform.

Input Dataset:

The file name of the input dataset. You can select the dataset that was uploaded from the drop-down list. (Required: True, Multiple: False)

Output Dataset:

The file name with which the output dataset is created. This contains the memory used by each column. (Required: True, Multiple: False)

The sample input for this transform looks as shown in the screenshot.

../../../_images/memoryusage_input.png

The output after running the Memory Usage transform on the dataset appears as below. This displays the memory used by each column:

../../../_images/memoryusage_output.png

How to use it in Notebook

template=TemplateV2.get_template_by('Memory Usage')

recipe_Memory_Usage= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Memory Usage')

transform=Transform()
transform.templateId = template.id
transform.name='Memory Usage'
transform.variables = {
'input_dataset':'car',
'output_dataset':'car_memory'}
recipe_Memory_Usage.add_transform(transform)
recipe_Memory_Usage.run()

Requirements

pandas