You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I do like my column names to be the same in both CDF_DF_List and CDF_DF_List_pu, using an explicit column name like Gen_MW even when one is actually getting a pu value (if extracted from CDF_DF_List_pu) might cause a little confusion.
There are at least three ways I can think of on how to deal with it:
Way 1: Don't Care + Didn't Ask. Mark this Issue as resolved anyway. The developer/user will have to deal with the fact that Gen_MW might mean different things depending on whether the value was extracted from CDF_DF_List or CDF_DF_List_pu.
Way 2: Change the column names in CDF_DF_List_pu to Gen_P_pu, Gen_Q_pu or something similar to clearly distinguish this from the actual values. The user will still have to know that the previous column names like Gen_MW cannot be invoked from CDF_DF_List_pu, and similarly Gen_P_pu cannot be invoked from CDF_DF_List.
Way 3: Keep the column names same in both cases, without explicitly specifying whether the values are in MW or pu. User will have to be careful whether they are extracting the MW value or the pu value.
Note: I use simple column names like PG, PL, QG and QL, if you're looking for inspiration.
The text was updated successfully, but these errors were encountered:
While I do like my column names to be the same in both
CDF_DF_List
andCDF_DF_List_pu
, using an explicit column name likeGen_MW
even when one is actually getting a pu value (if extracted fromCDF_DF_List_pu
) might cause a little confusion.There are at least three ways I can think of on how to deal with it:
Way 1: Don't Care + Didn't Ask. Mark this Issue as resolved anyway. The developer/user will have to deal with the fact that
Gen_MW
might mean different things depending on whether the value was extracted fromCDF_DF_List
orCDF_DF_List_pu
.Way 2: Change the column names in
CDF_DF_List_pu
toGen_P_pu
,Gen_Q_pu
or something similar to clearly distinguish this from the actual values. The user will still have to know that the previous column names likeGen_MW
cannot be invoked fromCDF_DF_List_pu
, and similarlyGen_P_pu
cannot be invoked fromCDF_DF_List
.Way 3: Keep the column names same in both cases, without explicitly specifying whether the values are in MW or pu. User will have to be careful whether they are extracting the MW value or the pu value.
Note: I use simple column names like
PG
,PL
,QG
andQL
, if you're looking for inspiration.The text was updated successfully, but these errors were encountered: