技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
special-data-types【数据与研究】Use Lux semantic data types, temporal and geographic handling, ID suppression, and index/grouped dataframe recommendations.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a Lux workflow depends on the semantic meaning of columns rather than only Pandas dtypes: inferred or overridden data types, temporal columns, geographic columns, identifier suppression, named indexes, and grouped or crosstabbed dataframes.
df.data_type and correcting Lux semantic types with df.set_data_type(...).quantitative, nominal, geographical, temporal, and id columns.state or country columns for geographic recommendations.Row Groups or Column Groups recommendations.df.intent, recommendation keys, and default/intent action behavior, use pandas-intent-recommendations.Clause, Vis, VisList, chart marks, Altair/Matplotlib/Vega-Lite export, or exported code, use visualization-export.configuration-actions.LuxSQLTable workflows, use sql-backend.references/data-types.md for the self-contained data-type, temporal, geographic, ID, and index/group workflow guide.references/troubleshooting.md when Lux gives a warning/message or when expected recommendations are missing.scripts/data_type_smoke.py --help or scripts/data_type_smoke.py in an environment with lux-api installed to verify the core offline data-type behaviors on tiny fixtures.import lux; import pandas as pd.df.data_type after constructing or mutating a dataframe.pd.to_datetime(...); if a pre-existing Vis was built from the old source, refresh it with vis.refresh_source(df).df.set_data_type({"column": "nominal"}), using only Lux's accepted override values.df.reset_index() before asking Lux for recommendations.