Is it possible for a dataframe in python which has a read_sql function to be unit tested?

后端 未结 0 1304
感动是毒
感动是毒 2021-01-31 09:01

How do I unit test a dataframe in python which basically reads the value from a database? To be a bit more precise here is the dataframe:

df1 = pd.read_sql(db.sess

相关标签:
回答
  • 消灭零回复
提交回复
热议问题