HTTP/2 200
date: Mon, 28 Jul 2025 00:17:12 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=UUv7wmKlgGtN7J1l3uCQAtdQMmeWQgjT2D7cvWUAew9vwProa6sEmo68l37t3JmSBUyT3OPs3EDvb%2FmHpalkhPlf18IlGcv8SErrttXzsOL08RFvbUFFrj7BA51lGBh5oIoS"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 966031321b32a8b0-BLR
server-timing: cfL4;desc="?proto=TCP&rtt=734&min_rtt=717&rtt_var=168&sent=6&recv=12&lost=0&retrans=0&sent_bytes=3385&recv_bytes=1028&delivery_rate=3795543&cwnd=252&unsent_bytes=0&cid=0b87d2caa7b191b6&ts=262&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')