Skip to content

Commit a1fbfc0

Browse files
committed
this limitation is gone
1 parent a73a88e commit a1fbfc0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dataframe, you're supposed to make multiple dataframes and `pd.concat()`
1010
them instead.
1111

1212
Also, Pandas deprecated `dataframe.append()` in version 1.4 and
13-
intends to remove it in 2.0.
13+
removed it in 2.0.
1414

1515
So... helper function? Pandas doesn't have one. Roll your own?
1616
Ugh. OK then: here's that helper function. It can append around 1
@@ -73,9 +73,3 @@ These inferred categories will override existing types or a `dtypes=` argument.
7373

7474
* Pandas: `df_new = df.append() # df is not changed`
7575
* DF_Appender: `dfa_new = dfa.append() # modifies dfa, and dfa_new == dfa`
76-
77-
### pandas.DataFrame.append will promote types, while DF_Appender is strict
78-
79-
* Pandas: append `0.1` to an integer column, and the column will be promoted to float
80-
* DF_Appender: when initialized with `dtypes=` or an existing DataFrame, appending
81-
`0.1` to an integer column causes `0.1` to be cast to an integer, i.e. `0`.

0 commit comments

Comments
 (0)