From 5fdfb9db366ef0604eab77d2d5f1d2966291423c Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sun, 16 Jun 2024 03:56:04 +0300 Subject: [PATCH] Add missing left bracket. --- format_spec/filters/dictionary_encoding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format_spec/filters/dictionary_encoding.md b/format_spec/filters/dictionary_encoding.md index 53ecbaea5e9..67f9599ca50 100644 --- a/format_spec/filters/dictionary_encoding.md +++ b/format_spec/filters/dictionary_encoding.md @@ -6,7 +6,7 @@ The Dictionary Encoding filter compresses losslessly string data by creating a s As an example in pseudocode: ``` - input_data = "HG543232", "HG543232", "HG543232", "HG54", "HG54", "A", "HG543232", "HG54"] + input_data = ["HG543232", "HG543232", "HG543232", "HG54", "HG54", "A", "HG543232", "HG54"] # apply dictionary encoding -> dictionary = ["HG543232", "HG54", "A"] output_data = [0, 0, 0, 1, 1, 2, 0, 1]