slf-dot-ch / snowmicropyn

A python package to read, export and post process data (*.pnt files) recorded by SnowMicroPen, a snow penetration probe for scientific applications developed at SLF.
https://www.slf.ch/en/services-and-products/research-instruments/snowmicropen-r-smp4-version.html
GNU General Public License v3.0
10 stars 12 forks source link

Future Warning: The pandas.np module is deprecated #8

Closed liellnima closed 2 years ago

liellnima commented 3 years ago

Hi there, I am not sure if I am the only one, but I get a deprecation warning when using the snowmicropyn:

"FutureWarning: The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly instead"

As far as I have checked the affected files are the following ones (all in the snowmicropyn dir):

At the moment I am just surpressing the warnings, but I thought it might be helpful for all users, if this was fixed before it becomes a problem :)

reisecker commented 2 years ago

Fixed in 0b2be15, thanks.