我在要查询SQL Server数据库的某个pandas数据框列中有一个数据列表。有没有办法可以根据我在pandas dataframe中的数据来查询SQL Server数据库?select * from table_name where pd.dataframe.customerid中的customerid
在SAP中,有一个叫做"For all entries in“的东西,SQL可以根
我使用Pandas从数据帧olddf中选择列。假设变量名是'a','b','c',‘starswith1 1’,‘startswith3 2’,‘startswith3 3’,...filter_col = [col for col in list(health) if col.startswith('startswith')]
然后,我想按名称选择该列表中的列以及其他列,这样我就不必全部键入它们