HTTP/2 200
date: Mon, 28 Jul 2025 05:17:25 GMT
content-type: text/html
content-encoding: gzip
last-modified: Mon, 07 Jul 2025 17:38:11 GMT
cf-cache-status: DYNAMIC
vary: accept-encoding
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=pkSJ5WsbHvKBH306jOE8juwc%2BnAWLmQFwBLpGxsH%2BJQA1SI68V0f2pP3lb4PI5olFZnrM7Due7yInaff934Y8eU2RYxI6SIli18Z7vptfbaXIUffs6oObWsNBnfYhz8bd8Jt"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 9661e8f96eba20c5-BLR
server-timing: cfL4;desc="?proto=TCP&rtt=805&min_rtt=690&rtt_var=235&sent=7&recv=12&lost=0&retrans=0&sent_bytes=3407&recv_bytes=1028&delivery_rate=3736774&cwnd=253&unsent_bytes=0&cid=bdcd0a602ed4237c&ts=279&x=0"
pandas.DataFrame.columns — pandas 2.3.1 documentation
Skip to main content
pandas.DataFrame.columns
-
DataFrame.columns
The column labels of the DataFrame.
Examples
>>> df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})
>>> df
A B
0 1 3
1 2 4
>>> df.columns
Index(['A', 'B'], dtype='object')