evadb.EvaDBCursor.df#

EvaDBCursor.df() DataFrame[source]#

Returns the result as a pandas DataFrame.

Returns:

The result as a DataFrame.

Return type:

pandas.DataFrame

Raises:

Exception – If no valid result is available with the current connection.

Examples

>>> result = conn.query("CREATE TABLE IF NOT EXISTS youtube_video_text AS SELECT SpeechRecognizer(audio) FROM youtube_video;").df()