欢迎来到天天文库
浏览记录
ID:49835866
大小:1.74 MB
页数:363页
时间:2020-03-05
《Introductionto Python for Econometrics, Statistics and Data Analysis.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、IntroductiontoPythonforEconometrics,StatisticsandDataAnalysisKevinSheppardUniversityofOxfordthMonday25November,2013-©2012,2013KevinSheppard2ChangeLogVersion2.02•ChangedtheAnacondainstalltousebothcreateandinstall,whichshowshowtoinstalladditionalpackages.•Fi
2、xedsomemissingpackagesinthedirectinstall.•ChangedtheconfigurationofIPythontoreflectbestpractices.•AddedsubsectioncoveringIPythonprofiles.Version2.01•UpdatedAnacondato1.8andaddedsomeadditionalpackagestotheinstallationforSpyder.•SmallsectionaboutSpyderasagoodst
3、artingIDE.iiiNotestothe2ndEditionThiseditionincludesthefollowingchangesfromthefirstedition(March2012):•ThepreferredinstallationmethodisnowContinuumAnalytics’Anaconda.Anacondaisacompletescientificstackandisavailableforallmajorplatforms.•Newchapteronpandas.pan
4、dasprovidesasimplebutpowerfultooltomanagedataandperformbasicanalysis.Italsogreatlysimplifiesimportingandexportingdata.•Newchapteronadvancedselectionofelementsfromanarray.•Numbaprovidesjust-in-timecompilationfornumericPythoncodewhichoftenproduceslargeper-for
5、mancegainswhenpureNumPysolutionsarenotavailable(e.g.loopingcode).•Dictionary,setandtuplecomprehensions•Numeroustypos•AllcodehasbeenverifiedworkingagainstAnaconda1.7.0.iiiivContents1Introduction11.1Background.............................................11.2C
6、onventions.............................................21.3ImportantComponentsofthePythonScientificStack........................31.4Setup................................................41.5UsingPython............................................91.6Exercises
7、..............................................191.Aregister_python.py..........................................192Python2.7vs.3(andtherest)232.1Python2.7vs.3...........................................232.2IntelMathKernelLibraryandAMDCoreMathLibrary........
8、................232.3OtherVariants............................................242.ARelevantDifferencesbetweenPython2.7and3...........................253Built-inDataTypes273.1VariableNames.....................
此文档下载收益归作者所有