from IPython.display import display display(df1) #displays nicely formatted dataframe1 display(df2) #displays nicely formatted dataframe2 OR. 2) from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all" df1 df2 #displays both dataframes, nicely formatted
1. you can use pandas with the following code: import pandas as pd df = pd.read_csv ('new_IMI.csv', sep='\t') df. assuming that you're in a jupyter notebook this will evaluate your dataframe and show the data inside you can access a specific column with df ['columnName'] and specific line number with df.iloc [lineNumber] Share.
The tutorial covers a detailed guide to style display of pandas dataframe in Jupyter notebooks. This involves things like styling header/index, individual row/column/cell, highlight Nan/Null, min/max per row/column, dataframe heatmap, dataframe bar chart, etc.
2 Answers. You can try df instead of print (df). Which makes it scrollable. And if you want the columns to be printed horizontal you could use df.transpose (). with pd.option_context ("display.max_rows", 8, "display.max_columns", 90): print (pd.get_option ("display.max_rows") print (pd.get_option ("display.max_columns")) # back in generalIgWvuU. 412 305 33 310 98 444 304 51 49