Read data

Read CSV file in Python

Read CSV file into Pandas DataFrame. Please provide the name of variable and file path. Please switch Advanced toggle for more options.

csvpandas

Required packages

You need below packages to use the code generated by recipe. All packages are automatically installed in MLJAR Studio.

pandas>=1.0.0

Interactive recipe

You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.

Python code

# Python code will be here

Code explanation

  1. Read CSV file to Pandas DataFrame.
  2. Display shape of DataFrame.
  3. Display first rows of DataFrame.

Example Python notebooks

Please find inspiration in example notebooks

« Previous
Sample datasets
Next »
Read Excel