Assumption University
0-19685Pandas ???????????????????? ?????????? ???????????? DataFrames ??????????????00Pandas ???????????????????? ?????????? ???????????? DataFrames ??????????????Pandas ??????????? Python Libraries ????????????????????????????????????????????????? (Data Science ???????????????????? Data Science ??????????) ????????????????? Pandas ?????????????????? Library ??? (????????????????????????? Pygame)?????????????????? Pandas ????????????????????????????? (????????????? Pygame)?????????????? Pandas ???????????????????????????????????? (????????) ????????? ??????????????????????????????????????????????? Data Structure ?? Pandas ?????? ???????????? Series ??? DataFramesSeries:??? Pandas ???????????? Series ??????????????????????????????? (one dimensional data structure ???? array ?????????????????????????????? index ???? INCLUDEPICTURE "" \* MERGEFORMATINET DataFrame:??? pandas ???????????? DataFrame ????????????????????????????? (??????????????????) ??????????????????????????????????? rows ??? columns ?????? columns ???????? ??? rows have ??????? ???? INCLUDEPICTURE "" \* MERGEFORMATINET ???????? DataFrames ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????????????????????????????? Pandas ???????? ????????????????????????????? ?????? Jupyter Notebook ?????????????????? .CSV (Comma Separated Value ????????????????????????????????? comma) ????????????animal,uniq_id,water_needelephant,1001,500elephant,1002,600elephant,1003,550tiger,1004,300tiger,1005,320tiger,1006,330tiger,1007,290tiger,1008,310zebra,1009,200zebra,1010,220zebra,1011,240zebra,1012,230zebra,1013,220zebra,1014,100zebra,1015,80lion,1016,420lion,1017,600lion,1018,500lion,1019,390kangaroo,1020,410kangaroo,1021,430kangaroo,1022,410????????????????? New ??? Home Tab ????????? Text File INCLUDEPICTURE "" \* MERGEFORMATINET ???????? Copy ???????????????????????????????? INCLUDEPICTURE "" \* MERGEFORMATINET ??????????????? zoo.csv INCLUDEPICTURE "" \* MERGEFORMATINET ?????????????????? zoo.csv ??????????????????????????? ipynb ?????????????????? notebook ???????? ?????????????????????? .ipynb ????????????????? (??????????? ?????? ???????????? ????) ????1_45655_Napas_SamsenDA_worksheet1.ipynb????????????????? import pandas ??? numpy INCLUDEPICTURE "" \* MERGEFORMATINET ????????????????????????? csv ??? read_csv( )????????????????????????????? zoo.csv ????????????????????pd.read_csv('zpp.csv', delimiter = ',') ????? run ?????????????????????? zoo.csv ????????? Jupyter Notebook????????????????????????????????? index ?? Pandas DataFrames ?????????????? Column (Column names) ?????????????????????? zoo.csv ??????????????? exercise ???????????????????????????????????????????????????????????????????????????????? .csv ???????????????? portal ?????????????? pandas_tutorial_read.csv ?????????????????????????????????????? .ipynb ????????????????????????????????????????? pandas_tutorial_read.csv ???????????????????? exercise 2 ???????????????????????????????? INCLUDEPICTURE "" \* MERGEFORMATINET ??????????????????????????????????? Column names ?????????????????????? Column names ??? ???????????????? Column names ????????????? ?????????????????????????????????????????? ??????????????????? function ?? Pandas ????????????????????????????????? Column names ?????????????? ????????????pd.read_csv('pandas_tutorial_read.csv', delimiter=';', names = ['my_datetime', 'event', 'country', 'user_id', 'source', 'topic'])????????????????????????????????????????????????? pd.read_csv( ) ??????????????????????????????????????????????????????? ????????????????????????????????????????????????????????? ????article_read = pd.read_csv('pandas_tutorial_read.csv', delimiter=';', names = ['my_datetime', 'event', 'country', 'user_id', 'source', 'topic'])??????????????????????????? article_read ??????????????????????????? article_read???????????????????????????? ??? ?????????? article_read ?? cell ??????????????????????????????????????????????????????????????? ????????????????????????????????????????????? ???????????? article_read.head() ????????????????????? (????????????????????????? default = 5) ???????????????????????????????????????????????????????? 5 10 15 ??? 20 ?????????????????????????????? ??? ???????????? article_read.tail() ????????????????????????????????? ???????????? article_read.sample(5)?????????????????????????????????????????????????????????????????????? Column ????????????? ???? ?????????????????? Column country ??? user_id ???????????????????? article_read[['country', 'user_id']]???????????????????? country ??? user_id ??????? ???????????? Column ????????????????????????? (????????????? data prediction) ?????????????????????????????? Series ????????????????????? DataFrames ?????? Series ??????????????? (?????????????????????? ???????????????????????)article_read.user_idarticle_read['user_id']??? filter ????????????????????????????? ???? ??????????????????????????? Column source ?????????????????? 'SEO' ???????????????? article_read[article_read.source == 'SEO']???????????????????? Pandas ??????????????????? ?????? article_read.source == 'SEO' pandas ???????????? DataFrames ?? column source ??????? SEO ??????? ?????????????????? True ???????????? False ????????? article_read ?????????????????????????? source ???? True INCLUDEPICTURE "" \* MERGEFORMATINET ???????????????????? source ???????? Reddit ????????? country ????? Europe?? Pandas ????????????????? Linear ?????????????????????????????????????? ????article_read.head()[['country', 'user_id']]?????????????????????????????????? ??????????????? country ??? user_id ????????????article_read[['country', 'user_id']].head()???????? country ??? user_id ?????????????????????? ????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????????????????????????? user_id, country ??? topic ????????????? country_2 ????????? 5 ??? (Hint: ???????????? filter ?????????????? country_2 ????????????? user_id, country, topic ???????? .head() )????????????????????? user_id source topic ????? source ??? Reddit ??? topic ???? Asia ????? 10 ??? ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- university city education foundation
- city university high school memphis
- why this university essay sample
- university city schools mo
- university of minnesota education department
- university school district jobs
- university city high school mo
- university city public schools
- university city st louis
- university city mo school district
- assumption of logistic regression model
- logistic regression assumption tests