Keine Grenzzeile Pandas
pd.set_option('display.max_rows', None)
Yucky Yacare
pd.set_option('display.max_rows', None)
DataFrame.clip(lower=None, upper=None, axis=None, inplace=False, *args, **kwargs)
# Import pandas package
import pandas as pd
# Define a dictionary containing employee data
data = {'Name':['Jai', 'Princi', 'Gaurav', 'Anuj'],
'Age':[27, 24, 22, 32],
'Address':['Delhi', 'Kanpur', 'Allahabad', 'Kannauj'],
'Qualification':['Msc', 'MA', 'MCA', 'Phd']}
# Convert the dictionary into DataFrame
df = pd.DataFrame(data)
# select three rows and two columns
print(df.loc[1:3, ['Name', 'Qualification']])