Skip to content

Instantly share code, notes, and snippets.

@kozlov-alexey
kozlov-alexey / test_df_drop.py
Created December 14, 2021 17:00
Example of DF drop method via tuple_utils
import numba
from numba import njit
from numba.core import types
import sdc
from sdc.utilities.utils import sdc_overload_method
from sdc.functions import numpy_like
from sdc.hiframes.pd_dataframe_type import DataFrameType
from sdc.functions.tuple_utils import sdc_tuple_map
from sdc.hiframes.pd_dataframe_ext import init_dataframe_internal