You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using startup scripts for the python/ipython environment to import pandas and set options makes working with pandas more efficient. To do this, create a .py or .ipy script in the startup directory of the desired profile. An example where the startup folder is in a default ipython profile can be found at:
74
-
75
-
.. code-block:: python
76
-
77
-
$IPYTHONDIR/profile_default/startup
78
-
79
-
More information can be found in the `ipython profile documentation
80
-
<http://ipython.org/ipython-doc/1/config/overview.html>`__. An example startup script for pandas is displayed below:
81
-
82
-
.. code-block:: python
83
-
84
-
import pandas as pd
85
-
pd.set_option('display.max_rows', 999)
86
-
pd.set_option('precision', 5)
87
-
88
-
For a list of options available for pandas, see the :ref:`pandas options documentation <options>`.
89
-
90
68
.. _ref-scikits-migration:
91
69
92
70
Migrating from scikits.timeseries to pandas >= 0.8.0
Using startup scripts for the python/ipython environment to import pandas and set options makes working with pandas more efficient. To do this, create a .py or .ipy script in the startup directory of the desired profile. An example where the startup folder is in a default ipython profile can be found at:
131
+
132
+
.. code-block:: python
133
+
134
+
$IPYTHONDIR/profile_default/startup
135
+
136
+
More information can be found in the `ipython documentation
137
+
<http://ipython.org/ipython-doc/stable/interactive/tutorial.html#startup-files>`__. An example startup script for pandas is displayed below:
138
+
139
+
.. code-block:: python
140
+
141
+
import pandas as pd
142
+
pd.set_option('display.max_rows', 999)
143
+
pd.set_option('precision', 5)
144
+
145
+
127
146
Frequently Used Options
128
147
-----------------------
129
148
The following is a walkthrough of the more frequently used display options.
0 commit comments