def is_gzipped(response):
    ctype = response.headers.get('Content-Type', b'')
    return ctype in (b'application/x-gzip', b'application/gzip')
return a tuple of the shape of the underlying data
dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/gz.py/is_gzipped--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/base.py/IndexOpsMixin.shape