Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
  • PyFlink DataFrame
    • DataFrame
    • DataFrame Creation
    • Input/Output
    • SQL
    • DataType
    • User Defined Functions
    • Configuration
    • GPU Support
    • AI / LLM
  • PyFlink Common
  • API Reference
  • PyFlink DataFrame
  • DataFrame
  • pyflink.dataframe.dataframe.col

pyflink.dataframe.dataframe.col#

col(name: str) → Expression[source]#

Create a column reference expression.

Parameters:

name – Column name.

Returns:

Expression referencing the column.

Example::
>>> import pyflink.dataframe as pf
>>> pf.col("a")
>>> pf.col("a") + pf.col("b")

previous

pyflink.dataframe.dataframe.GroupedDataFrame.agg

next

pyflink.dataframe.dataframe.lit

On this page
  • col()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.