Answers for "load xlsx in pandas"

10

pandas read excel

import pandas as pd
pd.read_excel('tmp.xlsx’, sheet_name='Sheet1')
Posted by: Guest on October-17-2020
2

find data in sheet pandas

import pandas
df = pandas.DataFrame()
df[df.text_column.str.contains('whatever')] #to replace ctrl+f in pandas
Posted by: Guest on September-09-2020

Python Answers by Framework

Browse Popular Code Answers by Language