Skip to content
Back to skills

Pandas Intent Recommendations

ASecurity

"Use Lux's Pandas-integrated DataFrame and Series intent workflow

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
datasqlapifrontendbackend

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill pandas-intent-recommendations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pandas Intent Recommendations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pandas Intent Recommendations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pandas-intent-recommendations/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pandas-intent-recommendations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pandas-intent-recommendations
description: "Use Lux's Pandas-integrated DataFrame and Series intent workflow
  to generate and inspect recommendations."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Pandas Intent Recommendations

Use this sub-skill when the task is about Lux's Pandas integration: creating `LuxDataFrame` or `LuxSeries` objects through Pandas, setting or clearing dataframe intent, inspecting recommendation tabs, understanding `current_vis` and `exported`, or preserving Pandas behavior while using Lux recommendations.

## Route here for

- Import order and Pandas monkeypatch behavior for `pd.DataFrame`, `pd.Series`, and `pd.read_*` loaders.
- `LuxDataFrame` and `LuxSeries` basics, including `to_pandas()` and recommendation access.
- `df.intent`, `df.set_intent(...)`, `df.clear_intent()`, and `df.set_intent_as_vis(...)` workflows.
- Programmatic inspection of `df.recommendation`, `df.current_vis`, and the basic meaning of `df.exported`.
- Default recommendation tabs and intent-specific tabs.
- Local dataframe caveats for `head()`, `tail()`, `groupby()`, stale recommendations, and offline smoke validation.

## Route away

- Detailed `Clause`, `Vis`, `VisList`, wildcard enumeration, or chart code export: use `visualization-export`.
- `lux.config`, plotting backend/style, custom action registration, sampling, or widget setup: use `configuration-actions`.
- Semantic data type fixes, temporal/geographic/id behavior, index/group recommendations, or hierarchical-index repair: use `special-data-types`.
- PostgreSQL, `LuxSQLTable`, `JoinedSQLTable`, or SQL executor behavior: use `sql-backend`.

## Operating checklist

1. Import `lux` before creating or loading the dataframe that should receive Lux behavior.
2. Confirm the object is a `LuxDataFrame` or `LuxSeries` before using Lux-only attributes.
3. If no intent is set, inspect default recommendation tabs through `df.recommendation` or by displaying the dataframe in a supported notebook frontend.
4. Set intent with a list, not a bare string. Use attribute names such as `"sales"`, filters such as `"region=West"`, or a small number of `lux.Clause` objects for constraints.
5. Treat `df.current_vis` as the compiled visualization(s) for the intent and `df.recommendation` as the next-step recommendation dictionary.
6. If recommendations appear stale after dataframe mutation, call `df.expire_recs()`; if data types or metadata changed, also call `df.expire_metadata()`.
7. For non-notebook validation, run the bundled offline smoke script in `scripts/intent_recommendation_smoke.py`.

## Bundled references

- `references/workflows.md` — recommended Pandas + Lux workflows and caveats.
- `references/api-reference.md` — concise API and behavior reference for this sub-skill.
- `references/troubleshooting.md` — symptom-to-fix guide for import, intent, recommendation, and export-selection issues.

Files in this skill

  • SKILL.md2.9 KB
  • references/api-reference.md7.7 KB
  • references/troubleshooting.md6.2 KB
  • references/workflows.md8.3 KB
  • scripts/intent_recommendation_smoke.py5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.