python
rib-pet
致力于政府信息化,聚焦CIM,智慧城市解决方案以及研发实施工作;擅长国土行业,智慧规划,智慧自然资源等行业信息化。ArcGIS(GeoScene)Supermap,Cesium, UE5 游戏引擎CG领域等核心框架。底层 osg, tinyGlTF, cgal, gdal, meshlab, 微软simplegon等。
展开
-
Python Array to Json 数组转Json
# coding=utf-8 import itertools import json import xlrd # # a special tool to handle excel # it is used to collect data and transfer data into database # def read_xlrd(excelFile): data = xlrd.open_workbook(excelFile) table = data.sheet_by_inde.原创 2020-10-19 19:49:48 · 1415 阅读 · 0 评论 -
Python - Removing Punctuation
Problem: You've a feature of text data and want to remove punctuaiton Soluation: Define a function that uses translate with a dictionary of punctuation characters: # Load libraries import unicodeda...转载 2019-06-09 14:22:42 · 910 阅读 · 0 评论 -
Python: Parsing and Cleaning HTML
Problem: You have text data with HTML elements and want to extract just the text. Solution: Use Beautiful Soup’s extensive set of options to parse and extract from HTML: from bs4 import Beautifu...转载 2019-06-09 14:25:52 · 152 阅读 · 0 评论