-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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_MWmight mean different things depending on whether the value was extracted fromCDF_DF_ListorCDF_DF_List_pu. -
Way 2: Change the column names in
CDF_DF_List_putoGen_P_pu,Gen_Q_puor something similar to clearly distinguish this from the actual values. The user will still have to know that the previous column names likeGen_MWcannot be invoked fromCDF_DF_List_pu, and similarlyGen_P_pucannot 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 and QL, if you're looking for inspiration.