久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何使用 Python Pandas 將 JMP *.jmp 文件讀入 Pandas 數

How to read JMP *.jmp file with Python Pandas into Pandas dataframe(如何使用 Python Pandas 將 JMP *.jmp 文件讀入 Pandas 數據幀)
本文介紹了如何使用 Python Pandas 將 JMP *.jmp 文件讀入 Pandas 數據幀的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我很難用 Pandas read_csv<閱讀 SAS JMP 文件/code> 函數到 Pandas 數據幀中.有人對這種類型的數據文件有經驗嗎?什么是最有效的方法?

I am struggling to read SAS JMP files with Pandas read_csv function into Pandas dataframe. Does anyone have experience with this type of data file? What is the most efficient way?

推薦答案

這對我有用.它的結果有時有點出乎意料(例如,有時我得到沒有標題的 CSV,即使在 JMP 中有它們).不幸的是,您需要安裝 SAS JMP,而且此解決方案僅適用于 Windows.

This has worked for me. Its results are sometimes a bit unexpected (for example, sometimes I get CSVs without headers, even though in JMP they have them). Unfortunately, you need to have SAS JMP installed and this solution only works on Windows.

import pandas as pd
from win32com.client import Dispatch

jmp = Dispatch("JMP.Application")
doc = jmp.OpenDocument('sasjmpfile.jmp')
doc.SaveAs('sasjmpfile.csv')

df = pd.read_csv('sasjmpfile.csv')

這篇關于如何使用 Python Pandas 將 JMP *.jmp 文件讀入 Pandas 數據幀的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Extract SAS Stored Process web Service in Python and store it in a Data Frame(在 Python 中提取 SAS 存儲過程 Web 服務并將其存儲在數據框中)
How to calculate Distance between two ZIPs?(如何計算兩個 ZIP 之間的距離?)
Read SAS file with pandas(用 pandas 讀取 SAS 文件)
Reading huge sas dataset in python(在python中讀取巨大的sas數據集)
convert a SAS datetime in Pandas(在 Pandas 中轉換 SAS 日期時間)
convert numeric sas date to datetime in Pandas(在 Pandas 中將數字 sas 日期轉換為日期時間)
主站蜘蛛池模板: 国产精品久久视频 | 欧美日韩精品一区 | 色综合天天 | 国产精品一级 | 3d动漫精品h区xxxxx区 | 欧美日韩激情 | 狠狠干狠狠插 | 伊人色播| 国产一及片 | 欧美日韩在线视频观看 | 久久久午夜 | 日韩欧美色图 | 91av免费| 国产视频a | 欧美精品二区三区四区免费看视频 | 亚洲免费毛片 | 日韩免费在线播放 | 能看的av网站 | 亚洲天堂国产 | 亚洲黄色大片 | 91精品免费| 久久久久一区二区三区 | 福利小视频在线观看 | 国产成人免费观看 | 亚洲免费在线 | 国产一区二区三区久久 | 一级黄色免费看 | 一区二区国产视频 | 欧美日韩国 | 性做久久| 婷婷久久五月天 | 国产精品手机在线观看 | 中文字字幕 | 日本韩国三级 | 成人特级毛片 | 黄色片视频网站 | 黄色片在线免费观看 | 性欧美精品 | 欧美激情第二页 | 亚洲午夜久久久 | 中文在线观看免费视频 |