Data serialization

  • Data serialization is the process of converting an object into a stream of bytes to more easily save or transmit it.
  • Python has pickle module that helps to serialize objects. Pickled object then can be used by Pandas, NumPy.
  • Sometimes we want to serialize data to share objects between different programming languages. Convert to text based formats for example: CSV, TXT, JSON, YAML, XML, Avro.
  • Data serialization is the process of converting structured data to a format that allows sharing or storage of the data in a form that allows recovery of its original structure. In some cases, the secondary intention of data serialization is to minimize the data’s size which then reduces disk space or bandwidth requirements.

Resources

SuperMade with Super