Hello
I have a strange issue. I have many places where I’m first creating an array of Dictionaries and then converting it to a DataFrame at the end. This works fine and is fast enough for my purposes. In most cases, it works perfectly well, but recently, I found one case where the dataFrame contents weren’t what I was expecting.
Instead of the names of the DataFrame being the keys of the dictionaries, they were always generated like the following
names(df)
8-element Array{Symbol,1}:
:slots
:keys
:vals
:ndel
:count
:age
:idxfloor
:maxprobe
If I take any one of elements of the Array of Dictionaries and convert it as a single Dictionary into a DataFrame it works OK (I looped through every row and each row by itself comes out OK) but only when I take the entire Array at once, does this occur, but as I noted, I do this in many other places without issue.
I suspect that this is some sort of internal dataframe representation, but I can’t figure out why in this one case, it is being generated like this? Does someone know what this means and what condition could possibly create it?