pandas Dataframe操作
import pandas as pd
1 创建空Dataframe
df = pd.DataFrame(columns=("a", "b", "c"))
df
.dataframe tbody tr th:only-of-type { vertical-align: middle }
{ vertical-align: top }
.dataframe thead th { text-align: right }
a | b | c |
---|
import pandas as pd
df = pd.DataFrame(columns=("a", "b", "c"))
df
.dataframe tbody tr th:only-of-type { vertical-align: middle }
{ vertical-align: top }
.dataframe thead th { text-align: right }
a | b | c |
---|