Skip to content

Commit 6f44f4c

Browse files
committed
Update pandas.rst
1 parent d27d28a commit 6f44f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/pandas.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Unlike a NumPy array, a dataframe can combine multiple data types, such as
113113
numbers and text, but the data in each column is of the same type. So we say a
114114
column is of type ``int64`` or of type ``object``.
115115

116-
Let's inspect one column of the Titanic passanger list data (first downloading
116+
Let's inspect one column of the Titanic passenger list data (first downloading
117117
and reading the titanic.csv datafile into a dataframe if needed, see above)::
118118

119119
titanic["Age"]
@@ -592,7 +592,7 @@ apply your own functions to the data using :obj:`~pandas.DataFrame.apply`::
592592
df['Number of Rabbits'] = df['Generation'].apply(fib)
593593

594594

595-
Note that the numpy precisision for integers caps at int64 while python ints are unbounded --
595+
Note that the numpy precision for integers caps at int64 while python ints are unbounded --
596596
limited by memory size. Thus, the result from fibonacci(99) would be erroneous when
597597
using numpy ints. The type of df['Number of Rabbits'][99] given by both functions above
598598
is in fact <class 'int'>.

0 commit comments

Comments
 (0)