docstr: Reads lines from Xport file and returns as dataframe
  
  Parameters
  ----------
  size : int, defaults to None
      Number of lines to read.  If None, reads whole file.
  
  Returns
  -------
  DataFrame
docstr_tok: ["Reads","lines","from","Xport","file","and","returns","as","dataframe","Parameters","--","--","--","--","--","size",":","int",",","defaults","to","None","Number","of","lines","to","read",".","If","None",",","reads","whole","file",".","Returns","--","--","--","-","DataFrame"]
code: def get_chunk(self, size=None) -> pd.DataFrame:
      """
      Reads lines from Xport file and returns as dataframe
  
      Parameters
      ----------
      size : int, defaults to None
          Number of lines to read.  If None, reads whole file.
  
      Returns
      -------
      DataFrame
      """
      if size is None:
          size = self._chunksize
      return self.read(nrows=size)
  
imports: from __future__ import annotations
  from collections import abc
  from datetime import datetime
  import struct
  import warnings
  import numpy
  from pandas._typing import CompressionOptions, DatetimeNaTType, FilePath, ReadBuffer
  from pandas.util._decorators import Appender
  from pandas.util._exceptions import find_stack_level
  import pandas
  from pandas.io.common import get_handle
  from pandas.io.sas.sasreader import ReaderBase
label_desc: Use image node_id 7 for calling the XportReader obj's underlying member method code with example usage: obj.get_chunk(size) and returns: self