Skip to content

Importing & exporting data in Pandas (csv, txt , json, feather ,html , pickel ... )

Notifications You must be signed in to change notification settings

Isuri-DA/python-import-export-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Import & Export data in Python

---

CSV

List of Methods to Read a CSV File in Python

  • Read CSV Data using csv.reader

  • Read CSV Data using csv.DictReader

  • Read CSV Data using .readlines() function

  • Read CSV Data into a NumPy Array

  • Read CSV Data using Pandas - ✨

       1. pandas.read_csv() - reads the whole CSV file at once , single dataframe
       2. pandas.read_csv(chunksize) -  chunks of CSV are read into memory , we can process chunks independently or concatenated in to a single dataframe
       3. dask - open-source parallel computing library for Python
    

image

image

About

Importing & exporting data in Pandas (csv, txt , json, feather ,html , pickel ... )

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published