Home > other >  The problem with using pandas
The problem with using pandas

Time:10-11

Read the keyboard input data to search the rows of data in the excel spreadsheet, clearly show of empty dataframe.
 import pandas as pd 
The import numpy as np

Df=pd read_excel (' valve plates. XLSX)
# df=pd DataFrame (pd) read_excel (' valve plates. XLSX, header=1))
Df. Dropna (axis=1, how='all', inplace=True)
# df=df astype (STR)

Value1=int (input (" : "))
Data=https://bbs.csdn.net/topics/df.loc [df [' id '] STR. The contains (' value1)]
Print (" access to data: \ n {0} ". The format (data))
  • Related