This repository contains practical examples of how to import and export files with Pandas.
It covers common formats such as CSV, Excel, JSON, and Parquet, making it easier to handle data in real-world projects.
- Import CSV, Excel, JSON, and Parquet files
- Export data into multiple file formats
- Clean, simple, and reusable code snippets
- Beginner-friendly examples
- CSV β
pd.read_csv()
,to_csv()
- Excel β
pd.read_excel()
,to_excel()
- JSON β
pd.read_json()
,to_json()
- Parquet β
pd.read_parquet()
,to_parquet()
git clone https://github.com/your-username/pandas-import-export.git
cd pandas-import-export
---
2.Install dependencies
pip install pandas openpyxl pyarrow
3. Run examples
- Check the Jupyter notebooks or Python files inside the repo to test each import/export method.
import pandas as pd
Import CSV
df = pd.read_csv("data.csv")
Export CSV
df.to_csv("output.csv", index=False)
---
π€ `Contributing`
- Contributions are welcome!
- Feel free to submit issues, suggestions, or pull requests.