問題文
A developer needs a DataFrame over an existing table so that later operations can be pushed down, and wants the editor to offer completion for the method names. Which entry point does the documentation prefer for this case?
選択肢
- The table method of the session, which the documentation recommends over a raw statement because tools can highlight and complete the code.
- The sql method of the session with a select statement, because only that form produces a DataFrame that can be pushed down to the warehouse for evaluation.
- The create_dataframe method with the table name as a single value, which resolves the name against the current schema.
- The range method with the row count of the table, which asynchronously produces a DataFrame aligned with the table's rows.