ahunter1289 / pyiotools

tools for science, engineering, mathematics, data analysis, and more
0 stars 0 forks source link

Temp fix for data_by_row_name #24

Open ahunter1289 opened 1 year ago

ahunter1289 commented 1 year ago

Temp Fix

was: if len(kwargs)==0: return_cols=len(data[0])-1 elif ('return_cols' in kwargs.keys() and type(kwargs['return_cols'])==int and kwargs['return_cols']<=len(data[0])-1 and kwargs['return_cols']>0):

is: if len(kwargs)==0: return_cols=len(data[4])-1 elif ('return_cols' in kwargs.keys() and type(kwargs['return_cols'])==int and kwargs['return_cols']<=len(data[4])-1 and kwargs['return_cols']>0):