Commit b92c7c0
Fix None values written as literal "None" in Google Sheets
records_to_values used str(record.get(h, "")) which only defaulted to ""
for missing keys. When the key existed with value None (from pandas NaN),
str(None) produced the string "None" in sheet cells instead of empty.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cc8e97c commit b92c7c0
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
305 | 310 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
0 commit comments