From 1c53b58c332c8a03c009f80089cdf71c85ac87c1 Mon Sep 17 00:00:00 2001 From: Michael Russo Date: Tue, 24 May 2022 13:01:06 -0400 Subject: [PATCH 1/2] Adds resources to README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d6e3e5e..9ffe081 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ - [Installing](#installing) - [Usage](#usage) - [Contributing](#contributing) +- [Resources](#resources) ## Overview @@ -58,3 +59,7 @@ Add notes about how to use the system. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. +## Resources + +- https://realpython.com/python-virtual-environments-a-primer/ +- https://pandas.pydata.org/pandas-docs/stable/reference/frame.html From 82f8f7f25a479852f0f428c1f65f4e7d2b7fe58f Mon Sep 17 00:00:00 2001 From: Michael Russo Date: Tue, 24 May 2022 13:02:13 -0400 Subject: [PATCH 2/2] Initial commit for reading and writing pandas --- pandas-reading-writing-files/README.md | 18 ++ .../data-columns.json | 1 + pandas-reading-writing-files/data-index.json | 1 + .../data-records.json | 1 + .../data-shifted.xlsx | Bin 0 -> 6675 bytes pandas-reading-writing-files/data-split.json | 1 + pandas-reading-writing-files/data-time.json | 1 + pandas-reading-writing-files/data.csv | 21 ++ pandas-reading-writing-files/data.csv.zip | Bin 0 -> 730 bytes pandas-reading-writing-files/data.db | Bin 0 -> 12288 bytes pandas-reading-writing-files/data.html | 195 ++++++++++++++++++ pandas-reading-writing-files/data.pickle | Bin 0 -> 2074 bytes .../data.pickle.compress | Bin 0 -> 1331 bytes pandas-reading-writing-files/data.py | 43 ++++ pandas-reading-writing-files/data.xlsx | Bin 0 -> 6659 bytes pandas-reading-writing-files/data_sheet.xlsx | Bin 0 -> 6672 bytes .../formatted-data.csv | 21 ++ .../new-data-time.json | 1 + pandas-reading-writing-files/new-data.csv | 21 ++ pandas-reading-writing-files/no_labels.csv | 21 ++ pandas-reading-writing-files/requirements.txt | 26 +++ 21 files changed, 372 insertions(+) create mode 100644 pandas-reading-writing-files/README.md create mode 100644 pandas-reading-writing-files/data-columns.json create mode 100644 pandas-reading-writing-files/data-index.json create mode 100644 pandas-reading-writing-files/data-records.json create mode 100644 pandas-reading-writing-files/data-shifted.xlsx create mode 100644 pandas-reading-writing-files/data-split.json create mode 100644 pandas-reading-writing-files/data-time.json create mode 100644 pandas-reading-writing-files/data.csv create mode 100644 pandas-reading-writing-files/data.csv.zip create mode 100644 pandas-reading-writing-files/data.db create mode 100644 pandas-reading-writing-files/data.html create mode 100644 pandas-reading-writing-files/data.pickle create mode 100644 pandas-reading-writing-files/data.pickle.compress create mode 100644 pandas-reading-writing-files/data.py create mode 100644 pandas-reading-writing-files/data.xlsx create mode 100644 pandas-reading-writing-files/data_sheet.xlsx create mode 100644 pandas-reading-writing-files/formatted-data.csv create mode 100644 pandas-reading-writing-files/new-data-time.json create mode 100644 pandas-reading-writing-files/new-data.csv create mode 100644 pandas-reading-writing-files/no_labels.csv create mode 100644 pandas-reading-writing-files/requirements.txt diff --git a/pandas-reading-writing-files/README.md b/pandas-reading-writing-files/README.md new file mode 100644 index 0000000..dc628df --- /dev/null +++ b/pandas-reading-writing-files/README.md @@ -0,0 +1,18 @@ +# Reading and Writing Files With Pandas + +Pandas is a powerful and flexible Python package that allows you to work with +labeled and time series data. It also provides statistics methods, enables +plotting, and more. One crucial feature of Pandas is its ability to write and +read Excel, CSV, and many other types of files. Functions like the Pandas +read_csv() method enable you to work with files effectively. You can use them to +save the data and labels from Pandas objects to a file and load them later as +Pandas Series or DataFrame instances. + + +## Topics + +- What the Pandas IO tools API is +- How to read and write data to and from files +- How to use the methods of read_csv() +- How to work with various file formats +- How to work with big data efficiently diff --git a/pandas-reading-writing-files/data-columns.json b/pandas-reading-writing-files/data-columns.json new file mode 100644 index 0000000..790874b --- /dev/null +++ b/pandas-reading-writing-files/data-columns.json @@ -0,0 +1 @@ +{"COUNTRY":{"CHN":"China","IND":"India","USA":"US","IDN":"Indonesia","BRA":"Brazil","PAK":"Pakistan","NGA":"Nigeria","BGD":"Bangladesh","RUS":"Russia","MEX":"Mexico","JPN":"Japan","DEU":"Germany","FRA":"France","GBR":"UK","ITA":"Italy","ARG":"Argentina","DZA":"Algeria","CAN":"Canada","AUS":"Australia","KAZ":"Kazakhstan"},"POP":{"CHN":1398.72,"IND":1351.16,"USA":329.74,"IDN":268.07,"BRA":210.32,"PAK":205.71,"NGA":200.96,"BGD":167.09,"RUS":146.79,"MEX":126.58,"JPN":126.22,"DEU":83.02,"FRA":67.02,"GBR":66.44,"ITA":60.36,"ARG":44.94,"DZA":43.38,"CAN":37.59,"AUS":25.47,"KAZ":18.53},"AREA":{"CHN":9596.96,"IND":3287.26,"USA":9833.52,"IDN":1910.93,"BRA":8515.77,"PAK":881.91,"NGA":923.77,"BGD":147.57,"RUS":17098.25,"MEX":1964.38,"JPN":377.97,"DEU":357.11,"FRA":640.68,"GBR":242.5,"ITA":301.34,"ARG":2780.4,"DZA":2381.74,"CAN":9984.67,"AUS":7692.02,"KAZ":2724.9},"GDP":{"CHN":12234.78,"IND":2575.67,"USA":19485.39,"IDN":1015.54,"BRA":2055.51,"PAK":302.14,"NGA":375.77,"BGD":245.63,"RUS":1530.75,"MEX":1158.23,"JPN":4872.42,"DEU":3693.2,"FRA":2582.49,"GBR":2631.23,"ITA":1943.84,"ARG":637.49,"DZA":167.56,"CAN":1647.12,"AUS":1408.68,"KAZ":159.41},"CONT":{"CHN":"Asia","IND":"Asia","USA":"N.America","IDN":"Asia","BRA":"S.America","PAK":"Asia","NGA":"Africa","BGD":"Asia","RUS":null,"MEX":"N.America","JPN":"Asia","DEU":"Europe","FRA":"Europe","GBR":"Europe","ITA":"Europe","ARG":"S.America","DZA":"Africa","CAN":"N.America","AUS":"Oceania","KAZ":"Asia"},"IND_DAY":{"CHN":null,"IND":"1947-08-15","USA":"1776-07-04","IDN":"1945-08-17","BRA":"1822-09-07","PAK":"1947-08-14","NGA":"1960-10-01","BGD":"1971-03-26","RUS":"1992-06-12","MEX":"1810-09-16","JPN":null,"DEU":null,"FRA":"1789-07-14","GBR":null,"ITA":null,"ARG":"1816-07-09","DZA":"1962-07-05","CAN":"1867-07-01","AUS":null,"KAZ":"1991-12-16"}} \ No newline at end of file diff --git a/pandas-reading-writing-files/data-index.json b/pandas-reading-writing-files/data-index.json new file mode 100644 index 0000000..e834c03 --- /dev/null +++ b/pandas-reading-writing-files/data-index.json @@ -0,0 +1 @@ +{"CHN":{"COUNTRY":"China","POP":1398.72,"AREA":9596.96,"GDP":12234.78,"CONT":"Asia","IND_DAY":null},"IND":{"COUNTRY":"India","POP":1351.16,"AREA":3287.26,"GDP":2575.67,"CONT":"Asia","IND_DAY":"1947-08-15"},"USA":{"COUNTRY":"US","POP":329.74,"AREA":9833.52,"GDP":19485.39,"CONT":"N.America","IND_DAY":"1776-07-04"},"IDN":{"COUNTRY":"Indonesia","POP":268.07,"AREA":1910.93,"GDP":1015.54,"CONT":"Asia","IND_DAY":"1945-08-17"},"BRA":{"COUNTRY":"Brazil","POP":210.32,"AREA":8515.77,"GDP":2055.51,"CONT":"S.America","IND_DAY":"1822-09-07"},"PAK":{"COUNTRY":"Pakistan","POP":205.71,"AREA":881.91,"GDP":302.14,"CONT":"Asia","IND_DAY":"1947-08-14"},"NGA":{"COUNTRY":"Nigeria","POP":200.96,"AREA":923.77,"GDP":375.77,"CONT":"Africa","IND_DAY":"1960-10-01"},"BGD":{"COUNTRY":"Bangladesh","POP":167.09,"AREA":147.57,"GDP":245.63,"CONT":"Asia","IND_DAY":"1971-03-26"},"RUS":{"COUNTRY":"Russia","POP":146.79,"AREA":17098.25,"GDP":1530.75,"CONT":null,"IND_DAY":"1992-06-12"},"MEX":{"COUNTRY":"Mexico","POP":126.58,"AREA":1964.38,"GDP":1158.23,"CONT":"N.America","IND_DAY":"1810-09-16"},"JPN":{"COUNTRY":"Japan","POP":126.22,"AREA":377.97,"GDP":4872.42,"CONT":"Asia","IND_DAY":null},"DEU":{"COUNTRY":"Germany","POP":83.02,"AREA":357.11,"GDP":3693.2,"CONT":"Europe","IND_DAY":null},"FRA":{"COUNTRY":"France","POP":67.02,"AREA":640.68,"GDP":2582.49,"CONT":"Europe","IND_DAY":"1789-07-14"},"GBR":{"COUNTRY":"UK","POP":66.44,"AREA":242.5,"GDP":2631.23,"CONT":"Europe","IND_DAY":null},"ITA":{"COUNTRY":"Italy","POP":60.36,"AREA":301.34,"GDP":1943.84,"CONT":"Europe","IND_DAY":null},"ARG":{"COUNTRY":"Argentina","POP":44.94,"AREA":2780.4,"GDP":637.49,"CONT":"S.America","IND_DAY":"1816-07-09"},"DZA":{"COUNTRY":"Algeria","POP":43.38,"AREA":2381.74,"GDP":167.56,"CONT":"Africa","IND_DAY":"1962-07-05"},"CAN":{"COUNTRY":"Canada","POP":37.59,"AREA":9984.67,"GDP":1647.12,"CONT":"N.America","IND_DAY":"1867-07-01"},"AUS":{"COUNTRY":"Australia","POP":25.47,"AREA":7692.02,"GDP":1408.68,"CONT":"Oceania","IND_DAY":null},"KAZ":{"COUNTRY":"Kazakhstan","POP":18.53,"AREA":2724.9,"GDP":159.41,"CONT":"Asia","IND_DAY":"1991-12-16"}} \ No newline at end of file diff --git a/pandas-reading-writing-files/data-records.json b/pandas-reading-writing-files/data-records.json new file mode 100644 index 0000000..78e2eb8 --- /dev/null +++ b/pandas-reading-writing-files/data-records.json @@ -0,0 +1 @@ +[{"COUNTRY":"China","POP":1398.72,"AREA":9596.96,"GDP":12234.78,"CONT":"Asia","IND_DAY":null},{"COUNTRY":"India","POP":1351.16,"AREA":3287.26,"GDP":2575.67,"CONT":"Asia","IND_DAY":"1947-08-15"},{"COUNTRY":"US","POP":329.74,"AREA":9833.52,"GDP":19485.39,"CONT":"N.America","IND_DAY":"1776-07-04"},{"COUNTRY":"Indonesia","POP":268.07,"AREA":1910.93,"GDP":1015.54,"CONT":"Asia","IND_DAY":"1945-08-17"},{"COUNTRY":"Brazil","POP":210.32,"AREA":8515.77,"GDP":2055.51,"CONT":"S.America","IND_DAY":"1822-09-07"},{"COUNTRY":"Pakistan","POP":205.71,"AREA":881.91,"GDP":302.14,"CONT":"Asia","IND_DAY":"1947-08-14"},{"COUNTRY":"Nigeria","POP":200.96,"AREA":923.77,"GDP":375.77,"CONT":"Africa","IND_DAY":"1960-10-01"},{"COUNTRY":"Bangladesh","POP":167.09,"AREA":147.57,"GDP":245.63,"CONT":"Asia","IND_DAY":"1971-03-26"},{"COUNTRY":"Russia","POP":146.79,"AREA":17098.25,"GDP":1530.75,"CONT":null,"IND_DAY":"1992-06-12"},{"COUNTRY":"Mexico","POP":126.58,"AREA":1964.38,"GDP":1158.23,"CONT":"N.America","IND_DAY":"1810-09-16"},{"COUNTRY":"Japan","POP":126.22,"AREA":377.97,"GDP":4872.42,"CONT":"Asia","IND_DAY":null},{"COUNTRY":"Germany","POP":83.02,"AREA":357.11,"GDP":3693.2,"CONT":"Europe","IND_DAY":null},{"COUNTRY":"France","POP":67.02,"AREA":640.68,"GDP":2582.49,"CONT":"Europe","IND_DAY":"1789-07-14"},{"COUNTRY":"UK","POP":66.44,"AREA":242.5,"GDP":2631.23,"CONT":"Europe","IND_DAY":null},{"COUNTRY":"Italy","POP":60.36,"AREA":301.34,"GDP":1943.84,"CONT":"Europe","IND_DAY":null},{"COUNTRY":"Argentina","POP":44.94,"AREA":2780.4,"GDP":637.49,"CONT":"S.America","IND_DAY":"1816-07-09"},{"COUNTRY":"Algeria","POP":43.38,"AREA":2381.74,"GDP":167.56,"CONT":"Africa","IND_DAY":"1962-07-05"},{"COUNTRY":"Canada","POP":37.59,"AREA":9984.67,"GDP":1647.12,"CONT":"N.America","IND_DAY":"1867-07-01"},{"COUNTRY":"Australia","POP":25.47,"AREA":7692.02,"GDP":1408.68,"CONT":"Oceania","IND_DAY":null},{"COUNTRY":"Kazakhstan","POP":18.53,"AREA":2724.9,"GDP":159.41,"CONT":"Asia","IND_DAY":"1991-12-16"}] \ No newline at end of file diff --git a/pandas-reading-writing-files/data-shifted.xlsx b/pandas-reading-writing-files/data-shif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0_d7 zYf69w0O04<2I~LL0 z3=9-Pp#uG-!owrjp>#)?j>cS@J11x*Nc> z{#c)kPKVm9HD#77xcg}7wVm{=-b<++>JK_H)b!hQ>+OLj8B zKD|RrW9)+n0uG+dmV%e0D=2qtOSL2RCj)ZB}VBADSEb;wvRvsQ5)Bz6|! z#)e{pq?+93>+=QWjmlvH#j?84m-VPjoWMsMAwHOihtTeccx0asGb|HNA~q(wB~keL z8@%RkS+e~X>_w!6_0LB9e!z3|(rKy3^Bt=iunODM9u-HtPBfk@LDSIb(1%=yHjiGk1b4VQOCgSwwmkv5fuTE5b6J4zu&*GzdmmQejop3 z8UK*r;r{qc%=bU=anOIj|CRkJipcjPIRJou|9x}+o_&db-~A8F CVUN)O literal 0 HcmV?d00001 diff --git a/pandas-reading-writing-files/data-split.json b/pandas-reading-writing-files/data-split.json new file mode 100644 index 0000000..55c7d61 --- /dev/null +++ b/pandas-reading-writing-files/data-split.json @@ -0,0 +1 @@ +{"columns":["COUNTRY","POP","AREA","GDP","CONT","IND_DAY"],"index":["CHN","IND","USA","IDN","BRA","PAK","NGA","BGD","RUS","MEX","JPN","DEU","FRA","GBR","ITA","ARG","DZA","CAN","AUS","KAZ"],"data":[["China",1398.72,9596.96,12234.78,"Asia",null],["India",1351.16,3287.26,2575.67,"Asia","1947-08-15"],["US",329.74,9833.52,19485.39,"N.America","1776-07-04"],["Indonesia",268.07,1910.93,1015.54,"Asia","1945-08-17"],["Brazil",210.32,8515.77,2055.51,"S.America","1822-09-07"],["Pakistan",205.71,881.91,302.14,"Asia","1947-08-14"],["Nigeria",200.96,923.77,375.77,"Africa","1960-10-01"],["Bangladesh",167.09,147.57,245.63,"Asia","1971-03-26"],["Russia",146.79,17098.25,1530.75,null,"1992-06-12"],["Mexico",126.58,1964.38,1158.23,"N.America","1810-09-16"],["Japan",126.22,377.97,4872.42,"Asia",null],["Germany",83.02,357.11,3693.2,"Europe",null],["France",67.02,640.68,2582.49,"Europe","1789-07-14"],["UK",66.44,242.5,2631.23,"Europe",null],["Italy",60.36,301.34,1943.84,"Europe",null],["Argentina",44.94,2780.4,637.49,"S.America","1816-07-09"],["Algeria",43.38,2381.74,167.56,"Africa","1962-07-05"],["Canada",37.59,9984.67,1647.12,"N.America","1867-07-01"],["Australia",25.47,7692.02,1408.68,"Oceania",null],["Kazakhstan",18.53,2724.9,159.41,"Asia","1991-12-16"]]} \ No newline at end of file diff --git a/pandas-reading-writing-files/data-time.json b/pandas-reading-writing-files/data-time.json new file mode 100644 index 0000000..c99b07e --- /dev/null +++ b/pandas-reading-writing-files/data-time.json @@ -0,0 +1 @@ +{"COUNTRY":{"CHN":"China","IND":"India","USA":"US","IDN":"Indonesia","BRA":"Brazil","PAK":"Pakistan","NGA":"Nigeria","BGD":"Bangladesh","RUS":"Russia","MEX":"Mexico","JPN":"Japan","DEU":"Germany","FRA":"France","GBR":"UK","ITA":"Italy","ARG":"Argentina","DZA":"Algeria","CAN":"Canada","AUS":"Australia","KAZ":"Kazakhstan"},"POP":{"CHN":1398.72,"IND":1351.16,"USA":329.74,"IDN":268.07,"BRA":210.32,"PAK":205.71,"NGA":200.96,"BGD":167.09,"RUS":146.79,"MEX":126.58,"JPN":126.22,"DEU":83.02,"FRA":67.02,"GBR":66.44,"ITA":60.36,"ARG":44.94,"DZA":43.38,"CAN":37.59,"AUS":25.47,"KAZ":18.53},"AREA":{"CHN":9596.96,"IND":3287.26,"USA":9833.52,"IDN":1910.93,"BRA":8515.77,"PAK":881.91,"NGA":923.77,"BGD":147.57,"RUS":17098.25,"MEX":1964.38,"JPN":377.97,"DEU":357.11,"FRA":640.68,"GBR":242.5,"ITA":301.34,"ARG":2780.4,"DZA":2381.74,"CAN":9984.67,"AUS":7692.02,"KAZ":2724.9},"GDP":{"CHN":12234.78,"IND":2575.67,"USA":19485.39,"IDN":1015.54,"BRA":2055.51,"PAK":302.14,"NGA":375.77,"BGD":245.63,"RUS":1530.75,"MEX":1158.23,"JPN":4872.42,"DEU":3693.2,"FRA":2582.49,"GBR":2631.23,"ITA":1943.84,"ARG":637.49,"DZA":167.56,"CAN":1647.12,"AUS":1408.68,"KAZ":159.41},"CONT":{"CHN":"Asia","IND":"Asia","USA":"N.America","IDN":"Asia","BRA":"S.America","PAK":"Asia","NGA":"Africa","BGD":"Asia","RUS":null,"MEX":"N.America","JPN":"Asia","DEU":"Europe","FRA":"Europe","GBR":"Europe","ITA":"Europe","ARG":"S.America","DZA":"Africa","CAN":"N.America","AUS":"Oceania","KAZ":"Asia"},"IND_DAY":{"CHN":null,"IND":-706320000000,"USA":-6106060800000,"IDN":-769219200000,"BRA":-4648924800000,"PAK":-706406400000,"NGA":-291945600000,"BGD":38793600000,"RUS":708307200000,"MEX":-5026838400000,"JPN":null,"DEU":null,"FRA":-5694969600000,"GBR":null,"ITA":null,"ARG":-4843411200000,"DZA":-236476800000,"CAN":-3234729600000,"AUS":null,"KAZ":692841600000}} \ No newline at end of file diff --git a/pandas-reading-writing-files/data.csv b/pandas-reading-writing-files/data.csv new file mode 100644 index 0000000..2e028a4 --- /dev/null +++ b/pandas-reading-writing-files/data.csv @@ -0,0 +1,21 @@ +,COUNTRY,POP,AREA,GDP,CONT,IND_DAY +CHN,China,1398.72,9596.96,12234.78,Asia, +IND,India,1351.16,3287.26,2575.67,Asia,1947-08-15 +USA,US,329.74,9833.52,19485.39,N.America,1776-07-04 +IDN,Indonesia,268.07,1910.93,1015.54,Asia,1945-08-17 +BRA,Brazil,210.32,8515.77,2055.51,S.America,1822-09-07 +PAK,Pakistan,205.71,881.91,302.14,Asia,1947-08-14 +NGA,Nigeria,200.96,923.77,375.77,Africa,1960-10-01 +BGD,Bangladesh,167.09,147.57,245.63,Asia,1971-03-26 +RUS,Russia,146.79,17098.25,1530.75,,1992-06-12 +MEX,Mexico,126.58,1964.38,1158.23,N.America,1810-09-16 +JPN,Japan,126.22,377.97,4872.42,Asia, +DEU,Germany,83.02,357.11,3693.2,Europe, +FRA,France,67.02,640.68,2582.49,Europe,1789-07-14 +GBR,UK,66.44,242.5,2631.23,Europe, +ITA,Italy,60.36,301.34,1943.84,Europe, +ARG,Argentina,44.94,2780.4,637.49,S.America,1816-07-09 +DZA,Algeria,43.38,2381.74,167.56,Africa,1962-07-05 +CAN,Canada,37.59,9984.67,1647.12,N.America,1867-07-01 +AUS,Australia,25.47,7692.02,1408.68,Oceania, +KAZ,Kazakhstan,18.53,2724.9,159.41,Asia,1991-12-16 diff --git a/pandas-reading-writing-files/data.csv.zip b/pandas-reading-writing-files/data.csv.zip new file mode 100644 index 0000000000000000000000000000000000000000..a0d0377a969dbe067376ea695796d0c0c51ef3af GIT binary patch literal 730 zcmWIWW@Zs#U|`^2=$?HoDDhZ9R00zN!*gZ^1|FbjN@7W(UUG4nUR7p6?Bu(CN{#}p z@1I9zX~q5xzdN0`Sx1PyY0{c|IaU^{g$qp@PQJRFZ>qCyceu*r;#Vbe*Ef7jx_fU; zUgFLOrzl?`pV_KC;%|A++{7| zu=(LWeJ6JhxgNfrTg_!}E`0WMzgV=^$#-2;ym~}@w~kVD$3cmbT^vo$!V8anx%2i{ zZ^ew-wMWucM_!&bW%@$x!&~@QMCdFrkWz5voBNli=(xf!!GO!3w*RHb=F}c`>(&9<+_AsDzF^#NSNZb>3?p@>atl2-pZ#;+T*+O zQqYxUERuH5md;;3;YFzLs<4pWWxPF~K5RJq{q8@(6UM7JQY7cvocAhxCUZDMJ2*Rj z?UJomZ~yyowJPP}W+97PjFyWh$adJAlG~>i8|%C8aOn5d_xErZ_v=lm>2|9-*?GEV zt<{wDqqAyCcji1a+JEZZ(WP789FUOAN$3sxfAF5qHG{Wh=PN7P69PKV7)}a#ve=P# z^7gx@v)Qk<8tl07H1V=yWMK1luG$HYIgE7Yl^$7G5`St=U)Y9u&EGTDnk>A?neY5` z@AHM5XR~Z}zPGPgd`(ed*M%ESM-n#7-?U|x(=FSQ!wc_h+$xc(z}_mh=i#J(Q|;&G z>4u$+ZQ5dcaZ2N*>1Ivwd0PXD{&D-(ZrPDF=gIv^?K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mV?d00001 diff --git a/pandas-reading-writing-files/data.html b/pandas-reading-writing-files/data.html new file mode 100644 index 0000000..f2e1078 --- /dev/null +++ b/pandas-reading-writing-files/data.html @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
COUNTRYPOPAREAGDPCONTIND_DAY
CHNChina1398.729596.9612234.78AsiaNaN
INDIndia1351.163287.262575.67Asia1947-08-15
USAUS329.749833.5219485.39N.America1776-07-04
IDNIndonesia268.071910.931015.54Asia1945-08-17
BRABrazil210.328515.772055.51S.America1822-09-07
PAKPakistan205.71881.91302.14Asia1947-08-14
NGANigeria200.96923.77375.77Africa1960-10-01
BGDBangladesh167.09147.57245.63Asia1971-03-26
RUSRussia146.7917098.251530.75NaN1992-06-12
MEXMexico126.581964.381158.23N.America1810-09-16
JPNJapan126.22377.974872.42AsiaNaN
DEUGermany83.02357.113693.2EuropeNaN
FRAFrance67.02640.682582.49Europe1789-07-14
GBRUK66.44242.52631.23EuropeNaN
ITAItaly60.36301.341943.84EuropeNaN
ARGArgentina44.942780.4637.49S.America1816-07-09
DZAAlgeria43.382381.74167.56Africa1962-07-05
CANCanada37.599984.671647.12N.America1867-07-01
AUSAustralia25.477692.021408.68OceaniaNaN
KAZKazakhstan18.532724.9159.41Asia1991-12-16
\ No newline at end of file diff --git a/pandas-reading-writing-files/data.pickle b/pandas-reading-writing-files/data.pickle new file mode 100644 index 0000000000000000000000000000000000000000..b0694b4d27eb0472e1f84722d78127fb506ce941 GIT binary patch literal 2074 zcma)7du$X%7~i|zU3&$Bm=Z9U68}&S(;PyG(L}=TUCYsKdOfafpbca*cemGBy0>@i zgVF+_JX&ZRslot31X0^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5=3n#We!N{Hq>J%ff1w~$o~Tb|D$=7&YM&hx4u{0xgWu8b6Z7mgg|Qpgyvmm>ya>{VM308W^E3R%JZ{x)$7PKkS%B4jT`!h138N zdzj1#x|*J(Z>wQ7GD*9ZYbCWx4RNgw9|(Jk2K@`Z7xu^T#;p}~m+*$U26%|;LQBT9 pwSq~yxHyZLW~s-~@?IITAg->NB&(Ya+v9lI*uR~vcDx!0005xDoVWl0 literal 0 HcmV?d00001 diff --git a/pandas-reading-writing-files/data.py b/pandas-reading-writing-files/data.py new file mode 100644 index 0000000..4f15920 --- /dev/null +++ b/pandas-reading-writing-files/data.py @@ -0,0 +1,43 @@ +data = { + 'CHN': {'COUNTRY': 'China', 'POP': 1_398.72, 'AREA': 9_596.96, + 'GDP': 12_234.78, 'CONT': 'Asia'}, + 'IND': {'COUNTRY': 'India', 'POP': 1_351.16, 'AREA': 3_287.26, + 'GDP': 2_575.67, 'CONT': 'Asia', 'IND_DAY': '1947-08-15'}, + 'USA': {'COUNTRY': 'US', 'POP': 329.74, 'AREA': 9_833.52, + 'GDP': 19_485.39, 'CONT': 'N.America', + 'IND_DAY': '1776-07-04'}, + 'IDN': {'COUNTRY': 'Indonesia', 'POP': 268.07, 'AREA': 1_910.93, + 'GDP': 1_015.54, 'CONT': 'Asia', 'IND_DAY': '1945-08-17'}, + 'BRA': {'COUNTRY': 'Brazil', 'POP': 210.32, 'AREA': 8_515.77, + 'GDP': 2_055.51, 'CONT': 'S.America', 'IND_DAY': '1822-09-07'}, + 'PAK': {'COUNTRY': 'Pakistan', 'POP': 205.71, 'AREA': 881.91, + 'GDP': 302.14, 'CONT': 'Asia', 'IND_DAY': '1947-08-14'}, + 'NGA': {'COUNTRY': 'Nigeria', 'POP': 200.96, 'AREA': 923.77, + 'GDP': 375.77, 'CONT': 'Africa', 'IND_DAY': '1960-10-01'}, + 'BGD': {'COUNTRY': 'Bangladesh', 'POP': 167.09, 'AREA': 147.57, + 'GDP': 245.63, 'CONT': 'Asia', 'IND_DAY': '1971-03-26'}, + 'RUS': {'COUNTRY': 'Russia', 'POP': 146.79, 'AREA': 17_098.25, + 'GDP': 1_530.75, 'IND_DAY': '1992-06-12'}, + 'MEX': {'COUNTRY': 'Mexico', 'POP': 126.58, 'AREA': 1_964.38, + 'GDP': 1_158.23, 'CONT': 'N.America', 'IND_DAY': '1810-09-16'}, + 'JPN': {'COUNTRY': 'Japan', 'POP': 126.22, 'AREA': 377.97, + 'GDP': 4_872.42, 'CONT': 'Asia'}, + 'DEU': {'COUNTRY': 'Germany', 'POP': 83.02, 'AREA': 357.11, + 'GDP': 3_693.20, 'CONT': 'Europe'}, + 'FRA': {'COUNTRY': 'France', 'POP': 67.02, 'AREA': 640.68, + 'GDP': 2_582.49, 'CONT': 'Europe', 'IND_DAY': '1789-07-14'}, + 'GBR': {'COUNTRY': 'UK', 'POP': 66.44, 'AREA': 242.50, + 'GDP': 2_631.23, 'CONT': 'Europe'}, + 'ITA': {'COUNTRY': 'Italy', 'POP': 60.36, 'AREA': 301.34, + 'GDP': 1_943.84, 'CONT': 'Europe'}, + 'ARG': {'COUNTRY': 'Argentina', 'POP': 44.94, 'AREA': 2_780.40, + 'GDP': 637.49, 'CONT': 'S.America', 'IND_DAY': '1816-07-09'}, + 'DZA': {'COUNTRY': 'Algeria', 'POP': 43.38, 'AREA': 2_381.74, + 'GDP': 167.56, 'CONT': 'Africa', 'IND_DAY': '1962-07-05'}, + 'CAN': {'COUNTRY': 'Canada', 'POP': 37.59, 'AREA': 9_984.67, + 'GDP': 1_647.12, 'CONT': 'N.America', 'IND_DAY': '1867-07-01'}, + 'AUS': {'COUNTRY': 'Australia', 'POP': 25.47, 'AREA': 7_692.02, + 'GDP': 1_408.68, 'CONT': 'Oceania'}, + 'KAZ': {'COUNTRY': 'Kazakhstan', 'POP': 18.53, 'AREA': 2_724.90, + 'GDP': 159.41, 'CONT': 'Asia', 'IND_DAY': '1991-12-16'} +} \ No newline at end of file diff --git a/pandas-reading-writing-files/data.xlsx b/pandas-reading-writing-files/data.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..026829c6d00ce6b14c6649c9e14a2f2fc83d1ad1 GIT binary patch literal 6659 zcmZ`;XIN9)whbV?Bcb~(2#dGd`UU~N=-`?v>zCFf|vF2QJ&arjWv2IZU002DnB@1|D0lue=0RSZ20swBK z|1nc^g?mEbo>uyg-Jl2yL0=c=s+0kEhcKD)>1A~9EU$;E@j1vz?eg#@3qC{i)*}IDlVTl_dlf);3&Hn4l=~#Yky28`6XHvE2*c;p z9r%K=!~KhuiN(nWA_M51S3U0+pJC3(;b<^TQ&5;p zL1lU;Slh1`XYV^UX>$l>E162Ry?M};CP!O|QRdz?bA*?E7K}W86D;2PMiTQU5$uG# zV{5dt-suzfruJ7K>y$4ZSL3o_TR#&RA6HSNNvH)7oBv#H^>;<|?#R#vVd(s!|3NNz zW*x1&Iwk->h+eHcpw0*(!C&{P)Ayv+92 z&`P{RD?*1}eVv8=5yi*V!^zs!)#+DE{#zi&PGK^o-AjU+Q&VpWHJ&5{PlWmG5mtC@ zy@oT`;Vta)lpJ4^5icJ%_e1PdI&RbE;P6Nc7S{&SNC(J?cf>U{^p-%z$2DP?C9>{q zBPkOwR`pdm^Th6y(~#J5qbl1IU)`^1-(pg18Avjs$v&;-auvxVo|UIUGMnKL!Ttkq z2@Gf4DBao#SX5Odx78ha-AAH1MjJr9;v_dL!Mp6E>hBSmrRe3D1T^PQE-mHt;O(6i zj*)zHcX)}p7o0QLL^L2t8`&cxbcE?Xak^pjWAWdewCg z4ha_!cPG4Z5V;des*`~km=EzGC(+Sm21F1#_N5ytu{9PCf+mq^!3naS#B=1_Q0ydv z#S0s1w!yAsbN;2|$e17I+~&ePU7-ML%b8dRCw>bPUnWFQl6)=A=^3hKZ0$)_2{?uW zMxInqVN4~%LqHu-_(`dtxUM$IFqS<2dG(+ib@Xl2isv?|ao)hIeZ`^CB580xyDrGB zFHo0Ku)(Y&dU-AD+1w{NEzk^-@A>yO{0Bx3gR&XAvPX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*IaA-D zL;gfCMP+=KkcPp-B##>Tx>sL;-+v)%T`is}u;MEO^iEh87o>z#DAh}1v9(I|Zb7B% zP3FE7Q-S8DSMZH3`KZR@(c6BW{kZj32eipm%NA%NJ+&FJ>2z%#KAYsMSbA`QEg33*#PEq)di(3LeG2ZUukq zj}6o^U@kiME<5>CIH_ccILd>Lkmn({8bI$f; zdgnvKM#Fhb-fQ{+9t`em31NM;5mJ47h4W_{05IRD=lsV^=q zarJ=y>JhV(2YwklXvdMDuvtLXK{tF`&g`{g-bl)`op6x5QWb8p>0iNCT{YRa-fwt# z?qG-brN2aaDO35(-y{)yw9?fJ-tF+*Kuwb_S?(-JO#Raj#ih4lAvy#UN^JGKIh zzUgp~Z2dMy)*}ab+s;Y4gTkWlMOHBH$Z&F3ci`N`Jg>o^AftX=Vh-b~b;Y_8r+0iPJ*0{6zG_}O4ke0JE z6fq$Gs|_MiZ&yE)(1ZxZp%oW!3w%!LZqth?Gr8n||>>Z~!1AGz7i- z|KT3r1m3h&e*=@zY54z}tT%aX+K<0^UZX<~>Q)$eS!T$MfGTQ|R{+|6=*~uznMK zbIkk=)+G4vL+4F~n}f)21{b1#82)!Gxe2}5o&JVCCHWhAvsb-IaP##0P2h=+lmBxT l-h|&w^xyDa;D5mXmG(O7*yvdt03bkrL(u!|LjCL4{{R7Clp+8C literal 0 HcmV?d00001 diff --git a/pandas-reading-writing-files/data_sheet.xlsx b/pandas-reading-writing-files/data_sheet.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..b47fe1e4bd9d6e9970a388e088d4df7987fbc4fa GIT binary patch literal 6672 zcmZ`;WmFvNvK=6}69y+Z!F3=(g1ZhDTmlTv;BH}%;Fck{d$0%=T!L$W;1US#Zb2S7 z=iZllc=z?J?r(Lk-uuVys`_@-fEAG*5dr`JwEI&O@XAnLP!$0Hhx2u{KFi@JRpQz*n$-qZ~jbio)i}1Gj z?EzR{EgPm>X1+J)(j6mA!cLyVPMw3@On8&~l;=Q@WV@)qGfQ~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