python lzw不';t解压缩较大的斑点

python lzw不';t解压缩较大的斑点,python,lzw,Python,Lzw,我是python新手,我们一直试图在程序中使用GIT中的lzw代码。 如果我们有一个较小的blob,这是很好的工作,但如果blob大小增加,它不会解压缩blob。因此,我一直在阅读文档,但我无法理解下面的内容,这可能是完整blob未解压缩的原因 我还附上了一条我正在使用的python代码 Our control codes are - CLEAR_CODE (codepoint 256). When this code is encountered, we flush th

我是python新手,我们一直试图在程序中使用GIT中的lzw代码。

如果我们有一个较小的blob,这是很好的工作,但如果blob大小增加,它不会解压缩blob。因此,我一直在阅读文档,但我无法理解下面的内容,这可能是完整blob未解压缩的原因

我还附上了一条我正在使用的python代码

Our control codes are
    - CLEAR_CODE (codepoint 256). When this code is encountered, we flush
      the codebook and start over.
    - END_OF_INFO_CODE (codepoint 257). This code is reserved for
      encoder/decoders over the integer codepoint stream (like the
      mechanical bit that unpacks bits into codepoints)
When dealing with bytes, codes are emitted as variable
length bit strings packed into the stream of bytes.
codepoints are written with varying length
    - initially 9 bits
    - at 512 entries 10 bits
    - at 1025 entries at 11 bits
    - at 2048 entries 12 bits
    - with max of 4095 entries in a table (including Clear and EOI)
code points are stored with their MSB in the most significant bit
available in the output character.
我的代码条: 此函数已按以下方式调用

nf['IS_BLOB'] = nf[['IS_BLOB','COMPRESSION']].apply(deblob3,axis=1)

“我们的控制代码”在这里的相关性如何?它不是python lzw的一部分。请将您的问题陈述升级到。另请参见。嗨,ivan_Pozdez,我刚刚尝试添加一个lil文档来解释发生了什么。这是我发布的链接。我得到了你的要求。我会尽量简化并再次发布!!谢谢你
nf['IS_BLOB'] = nf[['IS_BLOB','COMPRESSION']].apply(deblob3,axis=1)