# Julia: Change the Maximum Number of Colomns and Rows of A Data Frame Shown in Jupyter Notebooks

Hongtao Hao / 2021-10-21

This post is based on https://github.com/bkamins/Julia-DataFrames-Tutorial

First, enter this in your command line if you are using a Mac:

open -a Finder ~/Library/Jupyter/kernels


You’ll see kernels -> julia-XX. For example, kernels -> julia-1.6. Open the julia-1.6, you’ll see kernel.json. Open it. As Bogumił recommended, add "COLUMNS": "1000", "LINES": "100" to the env variable.

ENV["LINES"] = 20 # change the number as you prefer