I have a problem with the ibmdbpy.frame.IdaDataFrame
type in IBM Watson Studio.
I have two dataframes. The first of type ibmdbpy.frame.IdaDataFrame
and the second of type pandas.core.frame.DataFrame
.
I would like to merge these two dataframes in Python.
Is it possible to convert an ibmdbpy.frame.IdaDataFrame
to pandas.core.frame.DataFrame
?
You can convert the dataframe of type ibmdbpy.frame.IdaDataFrame
to pandas.core.frame.DataFrame
by using:
ida_df.as_dataframe()
Where, ida_df
will be your dataframe of type ibmdbpy.frame.IdaDataFrame
. This returns an object of type pandas.core.frame.DataFrame
which you can then merge with your second dataframe.