Files
2025-02-27 00:04:07 +05:30

8 lines
459 B
Plaintext

---
description: Outlines rules for optimizing performance, including vectorized operations, efficient data structures, and profiling code for bottlenecks.
globs: **/*.py
---
- Use vectorized operations in pandas and numpy for improved performance.
- Utilize efficient data structures (e.g., categorical data types for low-cardinality string columns).
- Consider using dask for larger-than-memory datasets.
- Profile code to identify and optimize bottlenecks.