def cut_dataframe(df_entire, start_date, end_date, date_column="date"):
    """Cuts a dataframe to a desired date range

    :param df_entire: The dataframe to cut
    :type df_entire: pandas.core.frame.DataFrame
    :param start_date: Start date of the dataframe entries
    :type start_date: str
    :param end_date: End date of the dataframe entries
    :type end_date: str
    :param date_column: Column name of the timestamp/date column, defaults to "date"
    :type date_column: str, optional
    :return: Returns the dataframe with entries only between inclusive boundaries of the mentioned dates
    :rtype: pandas.core.frame.DataFrame
    """
    mask = (df_entire[date_column] > start_date) & (df_entire[date_column] <= end_date)
    return df_entire.loc[mask]