# ImputeNaNs.jl **Repository Path**: Julialang/ImputeNaNs.jl ## Basic Information - **Project Name**: ImputeNaNs.jl - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-03-12 - **Last Updated**: 2022-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ImputeNaNs.jl ### fills NaN or Null values using last observation carry forward (locf) #### Copyright © 2017 by Jeffrey Sarnoff. Released under the MIT License. ----- [![Build Status](https://travis-ci.org/JeffreySarnoff/FillValues.jl.svg?branch=master)](https://travis-ci.org/JeffreySarnoff/FillValues.jl) ----- # exports locf, locf! # use ```julia using ImputeNaNs vec = [NaN, 1.0, NaN, 2.0, NaN, NaN] locf(vec) # [1.0, 1.0, 1.0, 2.0, 2.0, 2.0] locf(vec, false) # [NaN, 1.0, 1.0, 2.0, 2.0, 2.0] ``` # note Also works with Nullables.