.DataAugmentationFillMissing

struct defined in module DataAugmentation


			FillMissing(dict, cols)

Fills the missing values of a row present in TabularItem for the columns specified in cols using dict, which contains the column names as dictionary keys and the value to fill the column with present as dictionary values.

Example


			
			
			
			using
			
			 

	
			DataAugmentation
			

			

			
			cols
			 
			=
			 
			
			[
			
			:
			col1
			,
			 
			
			:
			col2
			,
			 
			
			:
			col3
			]
			

			
			row
			 
			=
			 
			
			(
			
			;
			 
			
			
			zip
			(
			cols
			,
			 
			
			[
			1
			,
			 
			2
			,
			 
			3
			]
			)
			...
			)
			

			
			item
			 
			=
			 
			

	
			TabularItem
			(
			row
			,
			 
			cols
			)
			

			
			fmdict
			 
			=
			 
			
			Dict
			(
			
			
			:
			col1
			 
			=>
			 
			100
			,
			 
			
			
			:
			col2
			 
			=>
			 
			100
			)
			

			

			
			tfm
			 
			=
			 
			

			FillMissing
			(
			fmdict
			,
			 
			
			[
			
			:
			col1
			,
			 
			
			:
			col2
			]
			)
			

			

	
			apply
			(
			tfm
			,
			 
			item
			)
Methods

There is 1 method for DataAugmentation.FillMissing: