Skip to main content

# mltable: machine learning table data toolkit MLTable is a Python package that provides fast, flexible data loading functions designed to make accessing “tabular” data easy and intuitive. MLTable will help you to abstract the schema definition for tabular data so that it is easier to materialize the table into a Pandas dataframe. MlTable can be leveraged upon delimited text files, parquet files, delta lake, json-lines files from a cloud object store or local disk.

## Main Features

Here are a few things that mltable does well:

  • Flexible sampling and filtering functionality on large data

  • Robust IO tools for loading data from  flat files (CSV and delimited), parquet files, delta lake and json-lines files

  • Capturing and defining schema contained in flat files

  • Fast materialization of data into Pandas DataFrame

## Getting started

You can install MLTable package via pip. `bash pip install mltable `

Please note MLTable package is pre-installed on AzureML compute instances.

## Documentation

The official documentation is hosted on [working with tables](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-mltable?view=azureml-api-2&tabs=cli).

MLTable artifact’s metadata file is called  MLTable which adheres to the [AzureML MLTable schema](https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-mltable).

# Release History

## 1.6.3 (2025-09-08) ### Bugs Fixed - Loading query based mltable. - Add Python 3.12 classifier for pypi.

## 1.6.2 (2025-08-27) ### Bugs Fixed - Fix for a bug causing incorrect partitioning of some JSONL files with multi-byte UTF-8 characters

## 1.6.1 (2024-01-24) ### Features Added - added authrization support - MLTable.save() bug fixes

## 1.5.0 (2023-08-14) ### Features Added - MLTable.save() supports cloud storage. Please find more details [here](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-mltable?view=azureml-api-2&tabs=cli). - from_delta_lake supports pulling latest version by default

### Bugs Fixed - Fix support_multi_line issue for MLTable.from_delimited_files

## 1.4.1 (2023-06-19) ### Bugs Fixed - Relaxing cryptography library dependency to allow versions greater than 41.*.*

## 1.4.0 (2023-05-31) ### Features Added - Updating runtime dependencies - Improved error handling and argument validation

## 1.3.0 (2023-04-07) ### Features Added - bugfix (user error mapping, mltable save/load roundtrip)

## 1.2.0 (2023-02-22)

### Features Added - bugfix (mltable save/load, validation schema)

## 1.1.0 (2023-01-26)

### Features Added - bugfix (fix schema, flake8 errors) - improve logging and exception message

## 1.0.0 (2022-12-05)

### Features Added - factory apis(from_delta_lake) - Authoring apis(convert_column_types, save, skip etc)

## 0.1.0b4 (2022-10-05)

### Features Added - Factory apis(from_paths, from_delimited_files, from_parquet_files, from_json_lines_files). - Authoring apis(keep_columns, drop_columns, take_random_sample, take etc). - Support mltable load from data asset uri

## 0.1.0b3 (2022-06-30)

## 0.1.0b2 (2022-05-23)

## 0.1.0b1 (2022-05-17)

### Features Added - Initial public preview release to load into pandas dataframe

Metadata

Release files for mltable 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mltable 1.7.0
File Interpreter ABI Platform
mltable-1.7.0-py3-none-any.whl Python 3 none any Details

Release files / mltable-1.7.0-py3-none-any.whl

Download URL mltable-1.7.0-py3-none-any.whl
Size 189.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44a94fe313773e6eff1a708c5923e09b8740360021b7d87c4a38e90512f95734
BLAKE2b-256 checksum
How to use checksums
b112097f2fe20ab5e62cdf11492cced427ff2b8c7d4abdad751ba8d25c062c1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.20
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page