kopia lustrzana https://github.com/animator/learn-python
Update Introduction_to_Pandas_Library_and_DataFrames.md
rodzic
35baa355cb
commit
6bee5482ad
|
@ -112,24 +112,6 @@ cars_with_colours = pd.DataFrame({"Cars" : ["BMW","Audi","Thar","Honda"],
|
||||||
"Colour" : ["Black","White","Red","Green"]})
|
"Colour" : ["Black","White","Red","Green"]})
|
||||||
cars_with_colours
|
cars_with_colours
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
|
@ -214,24 +196,6 @@ record = pd.DataFrame({"Student_Name":students ,
|
||||||
"Age" :age})
|
"Age" :age})
|
||||||
record
|
record
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
|
@ -307,24 +271,6 @@ record.dtypes
|
||||||
```python
|
```python
|
||||||
record.describe() # It only display the results for numeric data
|
record.describe() # It only display the results for numeric data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
|
|
Ładowanie…
Reference in New Issue