Commit 2e23b277

Rachel Lim <rachel@openai.com>
2021-06-30 12:08:50
bugfix tag: v0.9.1
* ensure that pandas empty values are read as empty string, rather than a float Co-authored-by: Boris Power <81998504+BorisPower@users.noreply.github.com>
1 parent 7ddcba1
Changed files (2)
openai/validators.py
@@ -480,6 +480,8 @@ def read_any_format(fname):
                 )
             else:
                 error_msg += f" Your file `{fname}` does not appear to have a file ending. Please ensure your filename ends with one of the supported file endings."
+        else:
+            df.fillna("", inplace=True)
     else:
         error_msg = f"File {fname} does not exist."
 
openai/version.py
@@ -1,1 +1,1 @@
-VERSION = "0.9.0"
+VERSION = "0.9.1"