Terality Docs
  • What is Terality?
  • Documentation
    • Quickstart
      • Setup
      • Tutorial
      • Next steps
    • User guide
      • Supported configurations
      • User dashboard
      • Importing and exporting data
        • Reading/writing to storage
        • Reading from multiple files
        • Writing to multiple files
        • Storage services
        • Data formats
        • From/to pandas
      • .apply() and passing callables
      • Caching
      • Best practices and anti-patterns
      • Upgrading your client version
      • Client configuration (CLI)
      • Support for external packages
      • Advanced topics
        • Data mutability and ownership: Terality vs pandas
    • API Reference
      • Conversion from/to pandas
      • Write to multiple files
    • Deploy Terality in your own AWS account
    • Releases
  • FAQ
    • Differences with
      • Terality and Pandas
      • Terality vs Spark
      • Terality vs Dask
    • Pricing
    • Security
    • Support & contact
    • Common setup issues
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. User guide
  3. Importing and exporting data

Reading from multiple files

It is quite common having several files identically structured stored in the same folder. We provide a way to read all these files at once, instead of individually load them and then perform a concatenation.

Using terality, you can simply pass the folder name containing your several files as path parameter to the pandas API read methods (read_csv, read_parquet, read_json, read_excel...).

# folder contains 3 csv with identical headers

import terality as pd
df = pd.read_csv("folder/")

PreviousReading/writing to storageNextWriting to multiple files

Last updated 3 years ago

Was this helpful?