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
- Add ``is_month_start``, ``is_month_end``, ``is_quarter_start``, ``is_quarter_end``, ``is_year_start``, ``is_year_end`` accessors for ``DateTimeIndex`` / ``Timestamp`` which return a boolean array of whether the timestamp(s) are at the start/end of the month/quarter/year defined by the frequency of the ``DateTimeIndex`` / ``Timestamp`` (:issue:`4565`, :issue:`6998`)
100
82
@@ -355,7 +337,7 @@ are introduced. The function :func:`~pandas.read_sql` is kept as a convenience
355
337
wrapper around the other two and will delegate to specific function depending on
356
338
the provided input (database table name or sql query).
357
339
358
-
In practice, you have to provide a SQLAlchemy ``engine`` to the sql functions.
340
+
In practice, you have to provide a SQLAlchemy ``engine`` to the sql functions.
359
341
To connect with SQLAlchemy you use the :func:`create_engine` function to create an engine
360
342
object from database URI. You only need to create the engine once per database you are
361
343
connecting to. For an in-memory sqlite database:
@@ -384,7 +366,7 @@ or by specifying a sql query:
384
366
.. ipython:: python
385
367
386
368
pd.read_sql_query('SELECT * FROM db_table', engine)
387
-
369
+
388
370
Some other enhancements to the sql functions include:
389
371
390
372
- support for writing the index. This can be controlled with the ``index``
@@ -397,7 +379,7 @@ Some other enhancements to the sql functions include:
397
379
398
380
Some of the existing functions or function aliases have been deprecated
399
381
and will be removed in future versions. This includes: ``tquery``, ``uquery``,
400
-
``read_frame``, ``frame_query``, ``write_frame``.
382
+
``read_frame``, ``frame_query``, ``write_frame``.
401
383
402
384
.. warning::
403
385
@@ -638,7 +620,7 @@ Deprecations
638
620
- The support for the 'mysql' flavor when using DBAPI connection objects has been deprecated.
639
621
MySQL will be further supported with SQLAlchemy engines (:issue:`6900`).
640
622
641
-
- The following ``io.sql`` functions have been deprecated: ``tquery``, ``uquery``, ``read_frame``, ``frame_query``, ``write_frame``.
623
+
- The following ``io.sql`` functions have been deprecated: ``tquery``, ``uquery``, ``read_frame``, ``frame_query``, ``write_frame``.
642
624
643
625
- The `percentile_width` keyword argument in :meth:`~DataFrame.describe` has been deprecated.
644
626
Use the `percentiles` keyword instead, which takes a list of percentiles to display. The
0 commit comments