pyfan.panda.categorical.strsvarskeys
¶
Created on Aug 9, 2018
@author: fan
Store key variable names, file names, etc.
Individual analysis files should refer to this file.
Module Contents¶
Functions¶
|
|
|
|
|
Commonly used conditionings |
-
pyfan.panda.categorical.strsvarskeys.
var_names
(vartype=1, file_name='thaiMthly_Annulized_DataZ', out_type='coln')[source]¶
-
pyfan.panda.categorical.strsvarskeys.
conditions
(df, condi_dict=None, return_subset=False)[source]¶ Commonly used conditionings
Can combine conditioning statements together in list
- Parameters
- condi_dict: dictionary
condi_dict = {‘region’:’central’, ‘years’:2002-2005}
- file_name: string
different files could have different variable names for the same variables, although these should be unified if possible