Questions tagged [canonicalization]

is a process for converting data that has more than one possible representation into a "standard", "normal", or canonical form.

As per Wikipedia:

In computer science, canonicalization (abbreviated c14n, where 14 represents the number of letters between the C and the N; also sometimes standardization or normalization) is a process for converting data that has more than one possible representation into a "standard", "normal", or canonical form. This can be done to compare different representations for equivalence, to count the number of distinct data structures, to improve the efficiency of various algorithms by eliminating repeated calculations, or to make it possible to impose a meaningful sorting order.

197 questions
-2
votes
1 answer

Python to Read Multiple Nested JSON into Canonical form

In this attached picture, I need to fetch the VALUE in each ZIP code. This has to be done using python. In this image, I wanted to fetch the underlined values as below: Can anyone please confirm? I am pretty new to Python. One blockage here is,…
Jomy
  • 87
  • 1
  • 13
-2
votes
1 answer

Perl specific transforms in python

I need a Perl-specific code in Python. Here is the Perl code: use strict; use warnings; my $s = 'http://www.bergdorfgoodman.com/Ippolita-18k-Gold-Rock-Candy-Mini-Single-Square-Pendant-Necklace/prod108010011/p.prod#.U75MVqY-PtS'; $s =~…
Mounarajan
  • 1,357
  • 5
  • 22
  • 43
1 2 3
13
14