DataProfiler icon indicating copy to clipboard operation
DataProfiler copied to clipboard

Investigate use of cast() in labelers.

Open Sanketh7 opened this issue 3 years ago • 0 comments

Investigate whether these instances of cast() are needed. PRs should be small (at most a few files).

labelers/base_data_labeler.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_data_labeler.py#L565
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_data_labeler.py#L598
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_data_labeler.py#L680
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_data_labeler.py#L851
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_data_labeler.py#L917

labelers/base_model.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_model.py#L22
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/base_model.py#L277

labelers/char_load_tf_model.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/char_load_tf_model.py#L243

labelers/classification_report_utils.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/classification_report_utils.py#L346
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/classification_report_utils.py#L383

labelers/data_processing.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L373
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L1019
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L1392
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L1656
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L1989
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L2143
  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/data_processing.py#L2255

labelers/labeler_utils.py

  • https://github.com/capitalone/DataProfiler/blob/main/dataprofiler/labelers/labeler_utils.py#L169

Sanketh7 avatar Nov 16 '22 15:11 Sanketh7