Reading csv.gz file in torch

Pandas’s read_csv works for csv.gz as well. Is there a way to achieve similar with PyTorch.?https://torchtext.readthedocs.io/en/latest/data.html#torchtext.data.Dataset doesn’t seem to have such an option.