我似乎无法打开我从()下载的don 3.zip形状文件
这是我的代码:
import geopandas as gpd
data = gpd.read_file("data/zip3.shp")
这给了我一个错误:
CPLE_AppDefinedError: b'Recode from CP437 to UTF-8 failed with the error: "Invalid argument".'
我有一个名为hotel_helper.py的文件,我想从其中导入一个名为demo1的函数,但我无法导入它。
我的hotel_helper.py文件:
def demo1():
print('\n\n trying to import this function ')
我的另一份档案:
from hotel.helpers.hotel_helper import demo1
demo1()
但我明白:
ImportError: cannot import name 'demo1' from 'hotel.helpers.hotel_helper&
在Windows环境中,我试图加载一个带有语句的.csv文件:
LOAD CSV WITH HEADERS FROM "file:///E:/Neo4j/customers.csv" AS row
它似乎不能正常工作并返回:无法在以下位置加载外部资源:
文件:/E:/neo4j/Customers.csv Neo.TransientError.Statement.ExternalResourceFailure
我做错了什么?提前感谢