traffic/core/flight.py
def airborne(self) -> Optional["Flight"]:
        """Returns the airborne part of the Flight.

        The airborne part is determined by an ``onground`` flag or null values
        in the altitude column.
        """
        if "altitude" not in self.data.columns:
            return None
        if "onground" in self.data.columns and self.data.onground.dtype == bool:
            return self.query("not onground and altitude == altitude")
        else:
            return self.query("altitude == altitude")
Returns the airborne part of the Flight.

        The airborne part is determined by an ``onground`` flag or null values
        in the altitude column.
        
Returns the airborne part of the Flight.
The airborne part is determined by an ``onground`` flag or null values
in the altitude column.
Returns the airborne part of the Flight . The airborne part is determined by an ` ` onground ` ` flag or null values in the altitude column .
def airborne(self) -> Optional["Flight"]:
        if "altitude" not in self.data.columns:
            return None
        if "onground" in self.data.columns and self.data.onground.dtype == bool:
            return self.query("not onground and altitude == altitude")
        else:
            return self.query("altitude == altitude")
def airborne ( self ) -> Optional [ "Flight" ] : if "altitude" not in self . data . columns : return None if "onground" in self . data . columns and self . data . onground . dtype == bool : return self . query ( "not onground and altitude == altitude" ) else : return self . query ( "altitude == altitude" )
Returns the airborne part of the Flight.
Returns the airborne part of the Flight .
"""Returns the airborne part of the Flight.

        The airborne part is determined by an ``onground`` flag or null values
        in the altitude column.
        """
self