def _impute_start_dates(states, states_only=False): if states_only: raise NotImplementedError( "Impute start dates does not yet implement support for states_only." ) for state in states: generate_start_times_for_state(state=state)
def _impute_start_dates(state=None, states_only=False): if states_only: raise NotImplementedError( "Impute start dates does not yet implement support for states_only." ) if state: generate_start_times_for_state(state=state) else: for state_name in ALL_STATES: _impute_start_dates(state_name)
def _impute_start_dates(state=None): if state: generate_start_times_for_state(state=state.title()) else: for state in us.states.STATES: _impute_start_dates(state)