https://dagster.io/ logo
#announcements
Title
# announcements
v

Vincent Goffin

04/08/2020, 2:46 PM
Hi all, question: I'm trying to typecheck a float_column using a custom-made (via create_dagster_pandas_dataframe_type) dataframe in dagster_pandas. The problem is there are null values (nans) in some of the values. I'm getting a
Violated InRangeColumnConstraint (Column must have values between -inf and inf inclusive.)
for that column with the nans as offending values, is that normal?
a

abhi

04/08/2020, 3:24 PM
Yeah so the float constraint errors out for null values unless you explicitly ask for it. When specifying your Dagster dataframe are you using the float column constructor? If so, you should see a nullable flag.
v

Vincent Goffin

04/09/2020, 6:20 AM
I'm seeing a non_nullable flag, upgraded to 0.7.6 and now I see a ignore_missing_vals flag. Set it to true, it worked.
2 Views