evalml icon indicating copy to clipboard operation
evalml copied to clipboard

Uniqueness of first column is now checked before flagging it as a primary key

Open simha104 opened this issue 3 years ago • 1 comments

Pull Request Description

IDColumnsDataCheck now only returns an action code to set the first column as the primary key if it contains unique values

simha104 avatar Aug 04 '22 17:08 simha104

Codecov Report

Merging #3639 (88a39de) into main (39e5102) will increase coverage by 0.1%. The diff coverage is 100.0%.

@@           Coverage Diff           @@
##            main   #3639     +/-   ##
=======================================
+ Coverage   99.7%   99.7%   +0.1%     
=======================================
  Files        337     337             
  Lines      34004   34021     +17     
=======================================
+ Hits       33873   33890     +17     
  Misses       131     131             
Impacted Files Coverage Δ
evalml/data_checks/id_columns_data_check.py 100.0% <100.0%> (ø)
evalml/tests/conftest.py 98.0% <100.0%> (+0.1%) :arrow_up:
...ts/data_checks_tests/test_id_columns_data_check.py 100.0% <100.0%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 04 '22 17:08 codecov[bot]