# Using the package AxisArrays.jl : how to keep the type AxisArray when making operations?

**URL:** <https://discourse.julialang.org/t/using-the-package-axisarrays-jl-how-to-keep-the-type-axisarray-when-making-operations/70338>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 25, 2021, 3:23pm UTC](https://discourse.julialang.org/t/using-the-package-axisarrays-jl-how-to-keep-the-type-axisarray-when-making-operations/70338 "2021-10-25T15:23:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gqn](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@gqn](https://discourse.julialang.org/u/gqn)\
**Post date:** [October 25, 2021, 3:23pm UTC](https://discourse.julialang.org/t/using-the-package-axisarrays-jl-how-to-keep-the-type-axisarray-when-making-operations/70338/1 "2021-10-25T15:23:49Z")

</div>

Hello,  
I would like to make descriptive statistics on an AxisArray{Float64,3,…}. For instance, my AxisArray has 3 axes (N, V and T) and I am looking for an operation allowing to divide each component at T=t by its value at T=t+1. However, I can not figure out how to do it efficiently without loosing the type AxisArray. I would like to have, at the end, a new AxisArray but with 2 axes : N and V. Does anybody have a solution to do that ?  
Thank you very much in advance.
