| 1 |
import pandas as pd |
| 2 |
import numpy as np |
| 3 |
import matplotlib.pyplot as plt |
| 4 |
import seaborn as sns |
| 5 |
%matplotlib inline |
| 6 |
pd.options.display.max_rows = 999 |
| 7 |
pd.get_option("display.max_rows") |
| 8 |
pd.set_option("display.max_rows",101) |
| 9 |
pd.reset_option("max_rows") |
| 10 |
pd.set_option('max_colwidth',40) |
| 11 |
pd.set_option('precision',7) |
| 12 |
pd.set_option('chop_threshold', 0) |
| 13 |
df = pd.concat([df, pd.DataFrame(np.random.randn(10, 4), columns=list('BCDE'))], axis=1) |
| 14 |
df = |
| 15 |
np.nan |
| 16 |
df.iloc[0, 2] |
| 17 |
np.linspace(1, 10, 10) |
| 18 |
np.logspace() |
| 19 |
pd.DataFrame |
| 20 |
df.ix[0:3] |
| 21 |
df.head() |
| 22 |
df.tail() |
| 23 |
df.info() |
| 24 |
df.join() |
| 25 |
df.loc['bar':'kar'] |
| 26 |
df.groupby('category') |
| 27 |
pd.read_table() |
| 28 |
pd.read_csv() |
Комментарии