cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
zetaVagabond1
Level III

JMP19 - Dataframe Interchange Protocol deprecation warning

Seeing this in my JSL Logs recently, has jmp19 adapted to something else ? This will eventually be phased out, i have used a custom fuction to convert jmp table to pandas dataframe in jmp18 but that didn't work for jmp19. So, what are the ways to achieve the same now? 

 

I run my python code inside the JSL Script. 

 

Python Send(o28k_raw);
Python Submit(
raw_data = pd.api.interchange.from_dataframe(o28k_raw)
);

This warning: 

 

 

<string>:18: Pandas4Warning: The Dataframe Interchange Protocol is deprecated.
For dataframe-agnostic code, you may want to look into:
- Arrow PyCapsule Interface: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html
- Narwhals: https://github.com/narwhals-dev/narwhals

 

 

2 REPLIES 2

Re: JMP19 - Dataframe Interchange Protocol deprecation warning

Have you seen Going further with Python in JMP 19 - JMP User Community?

Working with Pandas Dataframes became easier in JMP 19, using the new function jmp.from_dataframe(). 

zetaVagabond1
Level III

Re: JMP19 - Dataframe Interchange Protocol deprecation warning

I found below mentioned code from the same link but the query is diff as I have mentioned.

pd.api.interchange.from_dataframe()

Recommended Articles