synthesized-io / insight

🧿 Metrics & Monitoring of Datasets
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

bug inferring dtype for objects #19

Closed jamied157 closed 3 years ago

jamied157 commented 3 years ago

For pandas 1.3.2, tests currently fail because objects are converted to floats automatically in pandas 1.1.5 (which we use for testing) when possible but not in 1.3.2. This causes sr.str to raise an error in 1.3.2, this is fixed by changing the sr.str call to an explicit sr == "" in the infer_dtypes function

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication