3ad234f30b3958752df3060b3e8ab751bffeec6c,category_encoders/utils.py,,get_generated_cols,#Any#Any#Any#,64
Before Change
original_cols = set(X_original.columns)
current_cols = set(X_transformed.columns)
generated_cols = list(current_cols - (original_cols - set(to_transform) ))
return generated_cols
After Change
original_cols = list(X_original.columns)
if len(to_transform) > 0:
[original_cols.remove(c) for c in to_transform]
current_cols = list(X_transformed.columns)
if len(original_cols) > 0:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 3ad234f30b3958752df3060b3e8ab751bffeec6c
Time: 2018-11-19
Author: contact@againstthecurrent.ch
File Name: category_encoders/utils.py
Class Name:
Method Name: get_generated_cols
Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 3ad234f30b3958752df3060b3e8ab751bffeec6c
Time: 2018-11-19
Author: contact@againstthecurrent.ch
File Name: category_encoders/hashing.py
Class Name: HashingEncoder
Method Name: fit
Project Name: VOLTTRON/volttron
Commit Name: 40745dbc2e7816b9819cb6f5e4f18520cbe5e9d0
Time: 2020-06-19
Author: shwetha.niddodi@pnnl.gov
File Name: volttron/platform/vip/agent/subsystems/peerlist.py
Class Name: PeerList
Method Name: _handle_subsystem