Skip to content

Practical examples of importing and exporting different file formats using Pandas, including CSV, Excel, JSON, and more.

Notifications You must be signed in to change notification settings

Awais11227/pandas_import_export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

pandas_import_export

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.


Features

  • Import CSV, Excel, JSON, and Parquet files
  • Export data into multiple file formats
  • Clean, simple, and reusable code snippets
  • Beginner-friendly examples

πŸ“‚ File Formats Covered

  • CSV β†’ pd.read_csv(), to_csv()
  • Excel β†’ pd.read_excel(), to_excel()
  • JSON β†’ pd.read_json(), to_json()
  • Parquet β†’ pd.read_parquet(), to_parquet()

Getting Started

1. Clone the repository

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.

About

Practical examples of importing and exporting different file formats using Pandas, including CSV, Excel, JSON, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published