mattsurw
mattsurw

Reputation: 71

Convert from type Nullable in Julia

The response from a call to the blpapi in Julia is type Array{Nullable,n}. I'd like to be able to work with the data (plot it, math operate on it). How can I get around each data point being type Nullable? Is there a way to convert to Float64?

Upvotes: 3

Views: 593

Answers (1)

mattsurw
mattsurw

Reputation: 71

Thanks to Dan Getz for this.

"Suppose v is the Nullable Array, then get.(v) should be a regular Array of the values (of course, there should not be #NULL values in v)."

Upvotes: 1

Related Questions