# Anomaly Data of Lithium-Ion Batteries: Labeled 256-Step EV Battery Pack Windows for Anomaly Detection (Tsinghua University, Parquet conversion)

## Facts

- Provider: Dongxu Guo (Tsinghua University); Parquet conversion by Crn-acc
- License: CC-BY-4.0 (https://data.mendeley.com/public-api/datasets/zdjymzjz6n)
- Size: 4 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/Crn-acc/lithium-ion-anomaly
- Access: public, readable without an account
- DOI: https://doi.org/10.17632/zdjymzjz6n.1
- Category: Energy
- Source: https://doi.org/10.17632/zdjymzjz6n.1
- Page: https://scigantic.com/archive/cd90bba9-2156-55db-b740-75aac824de67
- Keywords: Energy, Parquet, Hugging Face

## About

Electric vehicle (EV) battery anomaly detection data from Tsinghua University, published by Dongxu Guo on Mendeley Data as Anomaly Data of Lithium-ion Batteries. Each sample is a window of 256 time steps with eight channels from vehicle battery operation: pack voltage, current, state of charge (SOC), maximum and minimum single-cell voltage, maximum and minimum temperature, and a timestamp counter, with metadata giving vehicle mileage and, for training windows, a label marking normal or abnormal segments. The original release ships two ZIPs of Python pickle files (Train.zip, Test.zip). This Hugging Face repository converts them to two Parquet tables in long format, 256 rows per window: train.parquet with 28,389 labeled windows (23,735 normal, 4,654 anomalous; about 7.27 million rows) and test.parquet with 11,234 unlabeled windows (label -1). Columns are volt, current, soc, max_single_volt, min_single_volt, max_temp, min_temp, timestamp, file (window id), label and mileage. Load with pandas.read_parquet or the datasets library. Useful for battery management system (BMS) fault and thermal-runaway precursor detection. Original data licensed CC BY 4.0; cite Guo, Mendeley Data, doi:10.17632/zdjymzjz6n.1.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("Crn-acc/lithium-ion-anomaly")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `test.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/cd90bba9-2156-55db-b740-75aac824de67
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/cd90bba9-2156-55db-b740-75aac824de67
- Over MCP: `get_schema_card` with id `cd90bba9-2156-55db-b740-75aac824de67` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Energy datasets](https://scigantic.com/topics/energy)
