尝试在Spyder中使用熊猫访问dta文件,但是这给了我一个权限错误。如何解决它一无所知。任何帮助都将是惊人的,这就是我所坚持的->
struct MainTabView: View {
@State private var selection: Tabs = .profile
private enum Tabs: Hashable {
case content
case profile
}
var body: some View {
TabView(selection: $selection) {
// Learn Content
Text("The First Tab")
.tabItem {
Image(systemName: "book")
Text("Learn")
}.tag(Tabs.content)
// The Users Profile View.
ProfileView()
.tabItem {
Image(systemName: "person.circle")
Text("Profile")
}.tag(Tabs.profile)
}
}
}
给我的错误是:
import pandas as pd
reader=pd.read_stata(r'/Users/.../Data.dta',chunksize=100000)