Skip to main content

column_key

Function column_key 

Source
pub fn column_key(label: &IndexLabel) -> String
Expand description

A Series’ name, like an axis’ name, is a LabelName: its text, and its typed label when it is not a string (fvsao.32, fvsao.64). The canonical name a typed column label keys its column under: its pandas text (0, 1.5, True, 2024-01-01 00:00:00), the string itself for a string label. The binding keys columns by it, so a label and its name always agree.