Used for null checking before actually converting the values
| 173 | |
| 174 | // Used for null checking before actually converting the values |
| 175 | static bool IsNull(const O& options, I obj) { |
| 176 | if (options.from_pandas) { |
| 177 | return internal::PandasObjectIsNull(obj); |
| 178 | } else { |
| 179 | return obj == Py_None; |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | // Used for post-conversion numpy NaT sentinel checking |
| 184 | static bool IsNaT(const TimestampType*, int64_t value) { |