-
Notifications
You must be signed in to change notification settings - Fork 120
Closed
Labels
bugThe problem described is something that must be fixedThe problem described is something that must be fixed
Description
Version of Awkward Array
2.8.9
Description and code to reproduce
Consider the following example:
import awkward as ak
arr = ak.Array(["1", "n", None])
df = ak.to_dataframe(arr)
print(df)
The result will print
values
entry
0 1
1 n
2 n
Even though awkward makes an effort to fill masked numpy arrays with the string "nan", we see that this is not working. The issue is that the amount of memory allocated to arrays containing only very short strings (less than three characters, namely) is not enough to represent "nan". I imagine that this can lead to confusion, especially if one of the non-null strings is something like "n" as in the above example.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThe problem described is something that must be fixedThe problem described is something that must be fixed